mirror of
https://github.com/Jackett/Jackett
synced 2025-03-03 18:36:00 +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]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info_cookie
|
||||
type: info_cookie
|
||||
|
||||
login:
|
||||
path: takelogin.php
|
||||
method: post
|
||||
# using cookie method because login page has embedded Clouflare turnstile
|
||||
method: cookie
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
returnto: /
|
||||
error:
|
||||
- selector: div#content:has(h3:contains("Login Failed"))
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: browse.php
|
||||
selector: span.key:contains("Ratio") + span.value
|
||||
|
|
Loading…
Reference in a new issue