torrentseeds: handle when title has no mouseover. #5244

This commit is contained in:
Garfield69 2019-05-11 09:47:15 +12:00
parent f1c83273f2
commit 6f65992bb5
1 changed files with 9 additions and 5 deletions

View File

@ -123,13 +123,16 @@
- name: andmatch - name: andmatch
fields: fields:
category: category:
selector: td:nth-of-type(1) a selector: a[href^="browse.php?cat="]
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
args: cat args: cat
title: title: # may be abbreviated
selector: td:nth-of-type(2) a selector: a[href^="details.php?id="]
title: # full title if available
optional: true
selector: td:nth-of-type(2) a[onmouseover]
attribute: onmouseover attribute: onmouseover
filters: filters:
- name: split - name: split
@ -137,9 +140,10 @@
- name: replace - name: replace
args: ["</b", ""] args: ["</b", ""]
details: details:
selector: td:nth-of-type(2) > a[onmouseover] selector: a[href^="details.php?id="]
attribute: href attribute: href
banner: banner:
optional: true
selector: td:nth-of-type(2) > a[onmouseover] selector: td:nth-of-type(2) > a[onmouseover]
attribute: onmouseover attribute: onmouseover
filters: filters:
@ -148,7 +152,7 @@
- name: replace - name: replace
args: ["./pic/noposter.png", ""] args: ["./pic/noposter.png", ""]
download: download:
selector: td:nth-of-type(3) a selector: a[href^="download.php?torrent="]
attribute: href attribute: href
files: files:
selector: td:nth-of-type(5) selector: td:nth-of-type(5)