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] book-search: [q]
settings: settings:
- name: username - name: cookie
type: text type: text
label: Username label: Cookie
- name: password - name: info_cookie
type: password type: info_cookie
label: Password
- name: freeleech - name: freeleech
type: checkbox type: checkbox
label: Filter freeleech only 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." 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: login:
path: takelogin.php method: cookie
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
logout: ""
error:
- selector: table:contains("Fehler")
test: test:
path: index.php path: index.php
selector: a[href*="/logout.php?logouthash="] selector: a[href*="/logout.php?logouthash="]