1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 21:54:51 +00:00

ilcorsaroblu: add freeleech search #9456

add date TZ
This commit is contained in:
Garfield69 2020-10-05 10:45:11 +13:00
parent 8172f9a33c
commit c3d6cd0e16

View file

@ -80,6 +80,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -129,9 +133,9 @@ search:
page: torrents page: torrents
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}" category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
# 0 title 1 title & descr 2 descr 3 uploaders 5 gold 6 silver 7 bronze # 0 title, 1 title & descr, 2 descr, 3 uploaders, 5 gold, 6 silver, 7 bronze
options: 0 options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
# 0 all 1 activeonly 2 deadonly # 0 all, 1 activeonly, 2 deadonly
active: 0 active: 0
order: "{{ .Config.sort }}" order: "{{ .Config.sort }}"
by: "{{ .Config.type }}" by: "{{ .Config.type }}"
@ -223,8 +227,10 @@ search:
selector: td:nth-last-child(7):contains('/') selector: td:nth-last-child(7):contains('/')
optional: true optional: true
filters: filters:
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse - name: dateparse
args: "02/01/2006" args: "02/01/2006 -07:00"
grabs: grabs:
selector: td:nth-last-child(4) selector: td:nth-last-child(4)
filters: filters:
@ -242,4 +248,5 @@ search:
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# minimumratio: appears to be ratioless
# xbtit # xbtit