mirror of
https://github.com/Jackett/Jackett.git
synced 2026-09-01 15:56:31 +08:00
order66: switch to cookie method due to cloudflare turnstile #16907
This commit is contained in:
@@ -41,14 +41,11 @@ caps:
|
||||
music-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: info_flaresolverr
|
||||
type: info_flaresolverr
|
||||
label: Cookie
|
||||
- name: info_cookie
|
||||
type: info_cookie
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Filter freeleech only
|
||||
@@ -75,15 +72,10 @@ settings:
|
||||
default: "If you are getting <b>0 results</b> then access the site with your browser and <b>mark as read</b> all PMs."
|
||||
|
||||
login:
|
||||
path: account-login.php
|
||||
method: post
|
||||
# using cookie method because login page has embedded Cloudflare turnstile
|
||||
method: cookie
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: div.lp-alert:contains("incorrect")
|
||||
message:
|
||||
text: "The specified username or password was incorrect."
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: index.php
|
||||
selector: a[href="account-logout.php"]
|
||||
|
||||
Reference in New Issue
Block a user