eniahd: add freeleech search. #9456

also add MST and MR
This commit is contained in:
Garfield69
2023-04-02 14:12:24 +12:00
parent 99417492ba
commit 285c108d87

View File

@@ -66,6 +66,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: striprussian
type: checkbox
label: Strip Russian Letters
@@ -147,10 +151,9 @@ search:
srg: -1
# title search
nm: "{{ .Keywords }}"
# find a username
pn: ""
# search by partial word
allw: 0
tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows:
selector: tr[id^="tor_"]:has(a[href^="./dl.php?id="])
@@ -206,7 +209,15 @@ search:
# unix
selector: td:last-child > u
downloadvolumefactor:
text: 1
case:
img[src$="/tor_gold.gif"]: 0
img[src$="/tor_silver.gif"]: 0.5
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 100 hours (as seconds = 100 x 60 x 60)
text: 360000
# TorrentPier