mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 02:38:08 +00:00
myspleen: switch to cookie method. #15869
This commit is contained in:
parent
898767ab77
commit
7924cf9d13
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue