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 attribute: onmouseover
filters: filters:
- name: regexp - name: regexp
args: "src=(.*?) width=" args: src=([^\s]+)
imdbid: imdbid:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href

View File

@ -129,13 +129,11 @@ search:
- name: regexp - name: regexp
args: tt(\d+) args: tt(\d+)
poster: 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 attribute: onmouseover
filters: filters:
- name: regexp - name: regexp
args: "src=(.+?) width" args: src=([^\s]+)
- name: replace
args: ["torrentimg/nocover.jpg", ""]
size: size:
selector: td:nth-child(10) selector: td:nth-child(10)
# two flavours of dates # two flavours of dates

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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