assorted yaml: remove redundant filters on imdbid extraction

This commit is contained in:
Garfield69 2022-05-19 22:22:05 +12:00
parent 8abc4d4f1f
commit 3b4062f0a5
6 changed files with 3 additions and 18 deletions

View File

@ -109,11 +109,7 @@ search:
attribute: onmouseover
filters:
- name: replace
args: ["javascript:ShowImage('/images/imdb/", "tt"]
- name: replace
args: [".jpg')", ""]
- name: replace
args: ["tt0000000", ""]
args: ["javascript:ShowImage('/images/imdb/tt0000000.jpg')", ""]
poster:
selector: td a[href^="index.php?page=torrent-details"]
attribute: onmouseover

View File

@ -208,9 +208,6 @@ search:
# a href="http://tracker.btnext.com/data/torrents/imdb/tt0249677.jpg"
selector: a[href*="/imdb/tt"]
attribute: href
filters:
- name: regexp
args: tt(\d+)
downloadvolumefactor:
case:
"img[title=\"FREE!\"]": 0

View File

@ -134,12 +134,9 @@ search:
selector: td a[href^="index.php?page=downloadcheck"]
attribute: href
imdbid:
# javascript:popdetails('http://www.imdb.com/title/tt10209130');
selector: a[href*="imdb.com/title/tt"]
attribute: href
filters:
# javascript:popdetails('http://www.imdb.com/title/tt10209130');
- name: regexp
args: tt(\d+)
size:
selector: td:nth-last-child(1)
leechers:

View File

@ -91,6 +91,7 @@ search:
args: "{{ .Result.description }}"
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
date:
selector: td:nth-child(5)
filters:

View File

@ -160,9 +160,6 @@ search:
imdbid:
selector: a[href^="/torrents.php?search=tt"]
attribute: href
filters:
- name: regexp
args: tt(\d+)
size:
selector: div span[style^="border-radius"]
seeders:

View File

@ -110,9 +110,6 @@ search:
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
filters:
- name: regexp
args: tt(\d+)
poster:
selector: td a[href^="index.php?page=torrent-details"]
attribute: onmouseover