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