torrentlt: add freeleech filter #9456

add minimumratio
This commit is contained in:
Garfield69
2020-09-15 15:29:20 +12:00
parent 0e0a1f7cd4
commit deb47a86df

View File

@@ -78,6 +78,10 @@ settings:
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker in your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
@@ -109,6 +113,7 @@ search:
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
free: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
keywordsfilters:
- name: replace
args: [".", " "] # issue #3296
@@ -155,4 +160,6 @@ search:
filters:
- name: dateparse
args: "2006-01-02 15:04"
minimumratio:
text: 0.41
# engine n/a