asgaard: adjust selectors.

This commit is contained in:
Garfield69
2019-09-20 08:57:03 +12:00
parent 853e98f949
commit e51f900bb4

View File

@@ -143,24 +143,21 @@
download: download:
selector: a[href*="download.php?torrent="] selector: a[href*="download.php?torrent="]
attribute: href attribute: href
files:
selector: td:nth-child(5)
date: date:
selector: td:nth-child(7) selector: div:has(span[id^="staff_pick_"])
filters: filters:
- name: dateparse - name: dateparse
args: "2 Jan 2006 15:04:05" args: "2 Jan 2006 15:04:05"
files:
selector: td:nth-last-child(7)
size: size:
selector: td:nth-child(8) selector: td:nth-last-child(5)
grabs: grabs:
selector: td:nth-child(9) selector: td:nth-last-child(4)
filters:
- name: regexp
args: (\d+)
seeders: seeders:
selector: td:nth-child(11) selector: td:nth-last-child(3)
leechers: leechers:
selector: td:nth-child(12) selector: td:nth-last-child(2)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src="./images/gold.png"]: "0" img[src="./images/gold.png"]: "0"