mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
girotorrent: : filter freeleech
This commit is contained in:
@@ -96,7 +96,7 @@ settings:
|
|||||||
label: Password
|
label: Password
|
||||||
- name: freeleech
|
- name: freeleech
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Filter freeleech only
|
||||||
default: false
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
@@ -152,13 +152,14 @@ search:
|
|||||||
# 15 results per page fetch 5 (site is slow, dont be greedy and fetch more)
|
# 15 results per page fetch 5 (site is slow, dont be greedy and fetch more)
|
||||||
- path: index.php
|
- path: index.php
|
||||||
inputs:
|
inputs:
|
||||||
|
page: torrents
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
category: "{{ range .Categories }}{{.}};{{end}}"
|
category: "{{ range .Categories }}{{.}};{{end}}"
|
||||||
page: torrents
|
# 0 name, 1 name&descr, 2 descr, 3 uploader, 5 gold, 6 silver, 7 bronze
|
||||||
|
# note the options are exclusive, so searching for gold means the search keywords are ignored
|
||||||
|
options: 0
|
||||||
# 0 all, 1 activeonly, 2 deadonly
|
# 0 all, 1 activeonly, 2 deadonly
|
||||||
active: 0
|
active: 0
|
||||||
# 0 name, 1 name&descr, 2 descr, 3 uploader, 5 gold, 6 silver, 7 bronze
|
|
||||||
options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
|
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
by: "{{ .Config.type }}"
|
by: "{{ .Config.type }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
@@ -171,7 +172,7 @@ search:
|
|||||||
# does not support imdbid search and does not return imdb link in results
|
# does not support imdbid search and does not return imdb link in results
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
|
selector: "div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[alt=\"Gold 100% Free\"]){{ else }}{{ end }}, div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[alt=\"Free Leech\"]){{ else }}{{ end }}"
|
||||||
filters:
|
filters:
|
||||||
- name: andmatch
|
- name: andmatch
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user