mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
myspleen: switch to cookie method. #15869
This commit is contained in:
@@ -25,15 +25,18 @@ caps:
|
|||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: cookie
|
||||||
|
type: text
|
||||||
|
label: Cookie
|
||||||
|
- name: info_cookie
|
||||||
|
type: info_cookie
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
# using cookie method because login page has embedded Clouflare turnstile
|
||||||
method: post
|
method: cookie
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
cookie: "{{ .Config.cookie }}"
|
||||||
password: "{{ .Config.password }}"
|
|
||||||
returnto: /
|
|
||||||
error:
|
|
||||||
- selector: div#content:has(h3:contains("Login Failed"))
|
|
||||||
test:
|
test:
|
||||||
path: browse.php
|
path: browse.php
|
||||||
selector: span.key:contains("Ratio") + span.value
|
selector: span.key:contains("Ratio") + span.value
|
||||||
|
Reference in New Issue
Block a user