assorted: tidy up poster detection

and drop noposter.jpg/gif when able
This commit is contained in:
Garfield69 2022-08-02 13:16:52 +12:00
parent 7bbe650c2d
commit 0802d6d8c6
12 changed files with 15 additions and 22 deletions

View File

@ -142,7 +142,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) width="
args: src=([^\s]+)
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href

View File

@ -129,13 +129,11 @@ search:
- name: regexp
args: tt(\d+)
poster:
selector: td a[href^="index.php?page=torrent-details"]
selector: td a[href^="index.php?page=torrent-details"]:not(a[onmouseover*="torrentimg/nocover.jpg"])
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) width"
- name: replace
args: ["torrentimg/nocover.jpg", ""]
args: src=([^\s]+)
size:
selector: td:nth-child(10)
# two flavours of dates

View File

@ -121,7 +121,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) width"
args: src=([^\s]+)
files:
selector: div.torrenttable:nth-last-child(6)
size:

View File

@ -143,7 +143,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) width"
args: src=([^\s]+)
date:
selector: td:nth-child(2) i
filters:

View File

@ -89,7 +89,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) width"
args: src=([^\s]+)
date:
selector: td:nth-last-child(7)
filters:

View File

@ -126,7 +126,7 @@ search:
attribute: onMouseover
filters:
- name: regexp
args: "src=(.*?) width"
args: src=([^\s]+)
date:
selector: td.tablea > table > tbody > tr:nth-child(2) > td:nth-child(2) > b
filters:

View File

@ -107,13 +107,11 @@ search:
selector: a[href^="download.php?id="]
attribute: href
poster:
selector: a[href^="torrents-details.php?id="]
selector: a[href^="torrents-details.php?id="]:not(a[onmouseover*="images/nocover.jpg"])
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) width"
- name: replace
args: ["images/nocover.jpg", ""]
args: src=([^\s]+)
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href

View File

@ -165,7 +165,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) width="
args: src=([^\s]+)
# two flavours
date_day:
# Yesterday

View File

@ -144,7 +144,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) width"
args: src=([^\s]+)
size:
selector: td:nth-child(7)
grabs:

View File

@ -270,7 +270,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) width"
args: src=([^\s]+)
date:
selector: td:nth-last-child(4)
filters:

View File

@ -131,7 +131,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "<img src=(.*) width="
args: src=([^\s]+)
grabs:
selector: tr > th > span:nth-child(5)
size:

View File

@ -111,14 +111,11 @@ search:
selector: a[href*="imdb.com/title/tt"]
attribute: href
poster:
selector: td a[href^="index.php?page=torrent-details"]
selector: td a[href^="index.php?page=torrent-details"]:not(a[onmouseover*="torrentimg/nocover.jpg"])
attribute: onmouseover
filters:
# http://anonym.to?javascript:popdetails('http://www.imdb.com/title/tt0086817');
- name: regexp
args: "src=(.+?) width"
- name: replace
args: ["torrentimg/nocover.jpg", ""]
args: src=([^\s]+)
size:
selector: td:nth-child(10)
# two flavours of dates