mirror of https://github.com/Jackett/Jackett
trancetraffic: add fl only, check if torrent is FL and avoid details redirect (#13963)
This commit is contained in:
parent
872c8674bf
commit
749167ba4a
|
@ -16,6 +16,22 @@ caps:
|
||||||
search: [q]
|
search: [q]
|
||||||
music-search: [q, artist]
|
music-search: [q, artist]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Filter freeleech only
|
||||||
|
default: false
|
||||||
|
- name: info_tpp
|
||||||
|
type: info
|
||||||
|
label: Results Per Page
|
||||||
|
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
method: post
|
method: post
|
||||||
|
@ -32,6 +48,7 @@ search:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
|
$raw: "{{ if .Config.freeleech }}&includeFL=on{{ else }}{{ end }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.mainouter table > tbody > tr:has(a[href^="details.php?id="])
|
selector: table.mainouter table > tbody > tr:has(a[href^="details.php?id="])
|
||||||
|
@ -47,6 +64,9 @@ search:
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["&hit=1", ""] # avoid redirect
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
# auto adjusted by site account profile
|
# auto adjusted by site account profile
|
||||||
|
@ -64,7 +84,9 @@ search:
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 1
|
case:
|
||||||
|
"span:contains(\"FREELEECH\")": 0
|
||||||
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
# engine tbd
|
# engine tbd
|
||||||
|
|
Loading…
Reference in New Issue