hudbt: tidy up

secret is not used in the login form
the second login error trap is redundant
we never included the bookmarked options in any other nexus
This commit is contained in:
Garfield69
2024-05-12 19:14:51 +12:00
parent 5ccf33bd43
commit a6ad3700c6

View File

@@ -97,7 +97,6 @@ login:
selector: img[alt="CAPTCHA"] selector: img[alt="CAPTCHA"]
input: imagestring input: imagestring
inputs: inputs:
secret: ""
username: "{{ .Config.username }}" username: "{{ .Config.username }}"
password: "{{ .Config.password }}" password: "{{ .Config.password }}"
logout: "" logout: ""
@@ -106,7 +105,6 @@ login:
trackerssl: yes trackerssl: yes
error: error:
- selector: div#stderr:has(h2:contains("失败")) - selector: div#stderr:has(h2:contains("失败"))
- selector: div#stderr:has(h2:contains("登录失败"))
test: test:
path: index.php path: index.php
selector: form[action$="logout.php"] selector: form[action$="logout.php"]
@@ -118,7 +116,6 @@ search:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
# currently supports only one query id at one time. # currently supports only one query id at one time.
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"
inclbookmarked: 0
# 0 incldead, 1 active, 2 dead # 0 incldead, 1 active, 2 dead
incldead: 0 incldead: 0
# 0 no limit, 3 3days, 7 1week, 30 1month, 90 3months # 0 no limit, 3 3days, 7 1week, 30 1month, 90 3months