pleasuredone: handle different ranks results. #5357

This commit is contained in:
Garfield69
2019-06-08 12:07:41 +12:00
parent 2f86b439e4
commit 73b8495197

View File

@@ -92,12 +92,12 @@
selector: table[width="100%"] > tbody tr:has(a[href^="download.php?id="]) selector: table[width="100%"] > tbody tr:has(a[href^="download.php?id="])
fields: fields:
title: title:
selector: td:nth-child(2) a selector: a[href^="javascript:popdetails"]
filters: filters:
- name: replace - name: replace
args: ["[FREE] ", ""] args: ["[FREE] ", ""]
details: details:
selector: td:nth-child(2) a selector: a[href^="javascript:popdetails"]
attribute: href attribute: href
filters: filters:
- name: replace - name: replace
@@ -105,29 +105,28 @@
- name: replace - name: replace
args: [");'", ""] args: [");'", ""]
category: category:
selector: td:nth-child(1) a selector: a[href^="torrents.php?category="]
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
args: category args: category
download: download:
optional: true selector: a[href^="download.php?id="]
selector: td:nth-child(4) a
attribute: href attribute: href
date: date:
# 19/01/2019 # 19/01/2019
selector: td:nth-child(5) selector: td:nth-last-child(9)
filters: filters:
- name: dateparse - name: dateparse
args: "02/01/2006" args: "02/01/2006"
size: size:
selector: td:nth-child(6) selector: td:nth-last-child(8)
seeders: seeders:
selector: td:nth-child(8) selector: td:nth-last-child(6)
leechers: leechers:
selector: td:nth-child(9) a selector: td:nth-last-child(5)
grabs: grabs:
selector: td:nth-child(10) selector: td:nth-last-child(4)
downloadvolumefactor: downloadvolumefactor:
case: case:
"img[src=\"images/fdownload.gif\"]": "0" "img[src=\"images/fdownload.gif\"]": "0"