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

View File

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

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

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