diff --git a/src/Jackett.Common/Definitions/eniahd.yml b/src/Jackett.Common/Definitions/eniahd.yml index 042314036..33c7e108c 100644 --- a/src/Jackett.Common/Definitions/eniahd.yml +++ b/src/Jackett.Common/Definitions/eniahd.yml @@ -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