mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
matrix: switch to cookie due to turnstile
This commit is contained in:
@@ -51,12 +51,11 @@ caps:
|
||||
music-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
label: Cookie
|
||||
- name: info_cookie
|
||||
type: info_cookie
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
@@ -87,14 +86,10 @@ settings:
|
||||
default: "If you do not log in to the site for 6 months, the system will automatically delete it!"
|
||||
|
||||
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 }}"
|
||||
logout: ""
|
||||
error:
|
||||
- selector: td.embedded:contains("Hiba")
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: /
|
||||
selector: a[href*="logout.php?logout="]
|
||||
|
Reference in New Issue
Block a user