order66: switch to cookie method due to cloudflare turnstile #16907

This commit is contained in:
Garfield69
2026-07-17 12:36:59 +12:00
parent 7498d758a8
commit 3eeab24192
+7 -15
View File
@@ -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"]