1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 04:38:20 +00:00

tfile: exclude torrents without size. #6870

because they will not have a download selector in the torrent details page.
This commit is contained in:
Garfield69 2020-01-09 08:34:42 +13:00
parent 32ea40cf82
commit 003d37ab27

View file

@ -862,8 +862,10 @@
$raw: "{{range .Categories}}f[]={{.}}&{{end}}"
q: "{{ .Keywords }}"
o: newest
rows:
selector: table > tbody > tr.tor
selector: table > tbody > tr.tor:has(td:nth-child(4):contains("B"))
fields:
category:
selector: td.f a[href*="?f="]
@ -894,12 +896,7 @@
selector: td.t a
attribute: href
size:
selector: td:nth-child(4):not(:contains("B"))
optional: true
text: "0 B"
size:
selector: td:nth-child(4):contains("B")
optional: true
selector: td:nth-child(4)
seeders:
text: 0
seeders: