Fixes for 3 French trackers (#1736)

Non-critical fixes:
 - NextTorrent and Zetorrents: error in logs when no results were
returned from search
 - T411v2: improved selector to disregard VPN add in search results
This commit is contained in:
thebluepotato 2017-08-28 13:01:51 +02:00 committed by kaso17
parent 44d9b3ecc8
commit 04995f1a10
3 changed files with 5 additions and 5 deletions

4
src/Jackett/Definitions/nexttorrent.yml Normal file → Executable file
View File

@ -24,7 +24,7 @@
search:
path: "recherche/{{ .Query.Keywords }}"
rows:
selector: div.listing-torrent > table tbody tr
selector: div.listing-torrent > table tbody tr:has(a)
fields:
site_date:
selector: td:nth-child(1) a
@ -85,4 +85,4 @@
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
text: "1"

View File

@ -28,7 +28,7 @@
search:
path: /torrents/search/?search={{ .Keywords}}
rows:
selector: tr.isItemDesk
selector: tr.isItem.isItemDesk
fields:
category:
selector: td.m-cat > a

4
src/Jackett/Definitions/zetorrents.yml Normal file → Executable file
View File

@ -24,7 +24,7 @@
search:
path: "/recherche/{{ .Query.Keywords }}"
rows:
selector: div.content-list-torrent > table tbody tr
selector: div.content-list-torrent > table tbody tr:has(a)
fields:
site_date:
selector: td:nth-child(1) a
@ -85,4 +85,4 @@
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
text: "1"