tigers-dl: changes to their search results

build download link as its been dropped
shift all the other selectors as a result fot he dl-link being dropped
This commit is contained in:
Garfield69
2019-04-11 08:31:11 +12:00
parent c27ed6fd41
commit 060efffc7e

View File

@@ -142,8 +142,15 @@
- name: querystring
args: category
download:
selector: td a[href^="download.php?id="]
selector: td a[href*="torrent-details"]
attribute: href
filters:
- name: querystring
args: id
- name: prepend
args: "download.php?id="
- name: append
args: "&f={{.Result.title}}.torrent"
banner:
selector: td a[href*="id="]
attribute: onmouseover
@@ -151,18 +158,18 @@
- name: regexp
args: "src=(.+?) width="
size:
selector: td:nth-child(5)
selector: td:nth-child(4)
seeders:
selector: td:nth-child(6)
selector: td:nth-child(5)
leechers:
selector: td:nth-child(7)
selector: td:nth-child(6)
grabs:
selector: td:nth-child(8)
selector: td:nth-child(7)
filters:
- name: replace
args: ["---", "0"]
date:
selector: td:nth-child(9)
selector: td:nth-child(8)
filters:
filters:
# translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portoguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch