diff --git a/src/Jackett.Common/Definitions/Bittorrentfiles.yml b/src/Jackett.Common/Definitions/Bittorrentfiles.yml index 6b2c4ddb4..0f74ddf6f 100644 --- a/src/Jackett.Common/Definitions/Bittorrentfiles.yml +++ b/src/Jackett.Common/Definitions/Bittorrentfiles.yml @@ -108,6 +108,10 @@ settings: - name: pass type: password label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false - name: sort type: select label: Sort requested from site @@ -141,11 +145,11 @@ search: path: browse.php inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" - # 0=title 1=descr 2=nfo 3=all - search_where: "{{ if .Query.IMDBID }}3{{else}}0{{end}}" - # 0=active 1=all 2=dead 4=upload 5=doubleup 6=halfdown 7=highlight =request - status: 1 + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # 0=title, 1=descr, 2=nfo, 3=all, 4=imdb + search_where: "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}" + # 0=active, 1=all, 2=onlydead, 4=only upload, 5=doubleup, 6=halfdown, 7=highlight, 8=request + status: "{{ if .Config.freeleech }}4{{ else }}1{{ end }}" orderby: "{{ .Config.sort }}" sort: "{{ .Config.type }}" @@ -227,4 +231,9 @@ search: case: img[alt="2xU"]: 2 "*": 1 + minimumratio: + text: 0.8 + minimumseedtime: + # 60 hours (as seconds = 60 x 60 x 60) + text: 216000 # engine n/a