sfp: switch to cookie

initially tried switching to login.php with captcha and while login was good subsequent browse.php caused relogin failure, maybe because the cookie was missing several keys (acqu: ts_language:)  %-/
This commit is contained in:
Garfield69
2024-08-20 06:40:58 +12:00
parent 6da4bf2df7
commit 3b9cdf13b3

View File

@@ -69,12 +69,11 @@ caps:
book-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: Filter freeleech only
@@ -105,14 +104,7 @@ settings:
default: "Inactive users are not welcome on the tracker. Anyone who does not delete (or seed) a file at least once a month risks having their account deactivated."
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
logout: ""
error:
- selector: table:contains("Fehler")
method: cookie
test:
path: index.php
selector: a[href*="/logout.php?logouthash="]