3changtrai: new layout. resolves #13804

added poster, imdbid
new comments column bumps other columns out by 1
This commit is contained in:
Garfield69 2022-12-23 19:06:13 +13:00
parent afdd007a3b
commit 2afdd4872b
1 changed files with 12 additions and 6 deletions

View File

@ -125,9 +125,15 @@ search:
download:
selector: a[href^="download.php?id="]
attribute: href
poster:
selector: img.lazyload
attribute: data-src
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
date_elapsed:
# time type: time elapsed (default)
selector: td:nth-child(4) > span[title]
selector: td.rowfollow:nth-child(5) > span[title]
attribute: title
optional: true
filters:
@ -137,7 +143,7 @@ search:
args: "2006-01-02 15:04:05 -07:00"
date_added:
# time added
selector: td:nth-child(4):not(:has(span))
selector: td.rowfollow:nth-child(5):not(:has(span))
optional: true
filters:
- name: append
@ -147,13 +153,13 @@ search:
date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
size:
selector: td:nth-child(5)
selector: td.rowfollow:nth-child(6)
seeders:
selector: td:nth-child(6)
selector: td.rowfollow:nth-child(7)
leechers:
selector: td:nth-child(7)
selector: td.rowfollow:nth-child(8)
grabs:
selector: td:nth-child(8)
selector: td.rowfollow:nth-child(9)
downloadvolumefactor:
case:
img.pro_free: 0