mirror of https://github.com/Jackett/Jackett
torrentleech: add exclude scene (#14037)
This commit is contained in:
parent
efc0a1ca69
commit
d0820cc9ad
|
@ -88,6 +88,10 @@ settings:
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Search freeleech only
|
||||||
default: false
|
default: false
|
||||||
|
- name: exclude_scene
|
||||||
|
type: checkbox
|
||||||
|
label: Exclude SCENE torrents from results
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -124,7 +128,8 @@ login:
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# "newfilter/2" include 0day and music
|
# "newfilter/2" include 0day and music
|
||||||
- path: "torrents/browse/list/{{ if .Config.freeleech }}facets/tags:FREELEECH/{{ else }}{{ end }}{{ if .Query.IMDBID }}imdbID/{{ .Query.IMDBID }}/{{ else }}exact/1/query/{{ .Keywords }}/{{ end }}{{ if .Keywords }}{{ else }}newfilter/2/{{ end }}{{ if .Categories }}categories/{{ join .Categories \",\" }}/{{ else }}{{ end }}orderby/{{ .Config.sort }}/order/{{ .Config.type }}"
|
# https://www.torrentleech.org/torrents/browse/list/categories/29,2,26,27,32,44,7,34,35/facets/tags:FREELEECH,nonscene/exact/1/query/friends/orderby/added/order/desc
|
||||||
|
- path: "torrents/browse/list{{ if .Categories }}/categories/{{ join .Categories \",\" }}{{ else }}{{ end }}{{ if or .Config.freeleech .Config.exclude_scene }}/facets/tags:{{ else }}{{ end }}{{ if .Config.freeleech }}FREELEECH{{ else }}{{ end }}{{ if and .Config.freeleech .Config.exclude_scene }},{{ else }}{{ end }}{{ if .Config.exclude_scene }}nonscene{{ else }}{{ end }}/{{ if .Query.IMDBID }}imdbID/{{ .Query.IMDBID }}/{{ else }}exact/1/query/{{ .Keywords }}/{{ end }}{{ if .Keywords }}{{ else }}newfilter/2/{{ end }}orderby/{{ .Config.sort }}/order/{{ .Config.type }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
|
|
||||||
|
@ -191,4 +196,4 @@ search:
|
||||||
# 10 days for registered users, less for upgraded users
|
# 10 days for registered users, less for upgraded users
|
||||||
# 10 day (as seconds = 7 x 24 x 60 x 60)
|
# 10 day (as seconds = 7 x 24 x 60 x 60)
|
||||||
text: 864000
|
text: 864000
|
||||||
# json enigine n/a
|
# json engine n/a
|
||||||
|
|
Loading…
Reference in New Issue