kinozal: add sid config for appspot mirrors. #13343

This commit is contained in:
ilike2burnthing 2022-08-03 13:00:00 +01:00 committed by GitHub
parent dfd971ad56
commit e411885b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -75,6 +75,13 @@ settings:
- name: password
type: password
label: Password
- name: info_sid
type: info
label: How to get your SID
default: "This is only needed when using *.appspot.com mirrors, otherwise just leave blank. Access the tracker's <i>Раздачи</i> page in browser, and in the address bar you will see something like <b>?sid=abC1de2F</b>. Those last 8 characters are your SID."
- name: sid
type: text
label: SID
- name: freeleech
type: checkbox
label: Search freeleech only
@ -162,6 +169,7 @@ search:
w: "{{ if .Config.freeleech }}11{{ else }}0{{ end }}"
t: "{{ .Config.sort }}"
f: "{{ .Config.type }}"
$raw: "{{ if .Config.sid }}sid={{ .Config.sid }}{{ else }}{{ end }}"
rows:
selector: table > tbody > tr:has(td.bt)