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