DataScene: fix definition

This commit is contained in:
kaso17 2017-08-29 15:33:00 +02:00
parent 300354ef13
commit a6d2ecffbb
1 changed files with 4 additions and 5 deletions

View File

@ -67,7 +67,7 @@
search: "{{ .Query.Keywords }}" search: "{{ .Query.Keywords }}"
incldead: 1 incldead: 1
rows: rows:
selector: tr:has(a.tname) selector: div.ncls > table > tbody > tr:has(a.tname)
fields: fields:
title-attribute: title-attribute:
selector: a.tname selector: a.tname
@ -86,7 +86,7 @@
- name: querystring - name: querystring
args: cat args: cat
download: download:
selector: a[href^="/download.php/"] selector: a[href^="/download.php/"], a[href^="/downloadd.php/"] # some releases use a download link with two d's
attribute: href attribute: href
grabs: grabs:
selector: td:nth-child(8) selector: td:nth-child(8)
@ -97,10 +97,9 @@
selector: td:nth-child(7) selector: td:nth-child(7)
date: date:
selector: td:nth-child(2) > right > div:has(font:contains("Uploaded")) selector: td:nth-child(2) > right > div:has(font:contains("Uploaded"))
remove: div > font
filters: filters:
- name: trim - name: replace
args: ":" args: ["Uploaded: ", ""]
seeders: seeders:
selector: td:nth-child(9) selector: td:nth-child(9)
leechers: leechers: