bitbazis: new layout

This commit is contained in:
Garfield69
2023-02-17 16:08:40 +13:00
parent b0b719b163
commit e14a89643e

View File

@@ -123,39 +123,26 @@ search:
categorydesc: categorydesc:
selector: img[src^="pic/kategoria/"] selector: img[src^="pic/kategoria/"]
attribute: title attribute: title
genre:
selector: span.tooltiptext
description:
text: "{{ .Result.genre }}"
title: title:
selector: div.tooltip selector: a.preview
remove: span _id:
selector: td.tori_infok
attribute: id
filters:
- name: regexp
args: (\d+)
details: details:
selector: a[href^="details.php?id="] text: "details.php?id={{ .Result._id }}#adatlap"
attribute: href download:
text: "download.php?torrent={{ .Result._id }}"
poster: poster:
selector: a.preview selector: a.preview
attribute: href attribute: href
download_1:
selector: a[href^="download.php?torrent="]
optional: true
attribute: href
download_2:
selector: span[onclick*="download.php?torrent="]
optional: true
attribute: onclick
filters:
- name: replace
args: ["window.open('", ""]
- name: replace
args: ["', '_self');", ""]
download:
text: "{{ if or .Result.download_1 .Result.download_2 }}{{ or .Result.download_1 .Result.download_2 }}{{ else }}{{ end }}"
imdbid: imdbid:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
size: size:
selector: td:nth-child(6) selector: td[id^="tsize_"]
date: date:
# 36 perce # 36 perce
# 13 órája és 59 perce # 13 órája és 59 perce
@@ -183,6 +170,10 @@ search:
selector: td:nth-child(3) selector: td:nth-child(3)
leechers: leechers:
selector: td:nth-child(4) selector: td:nth-child(4)
genre:
selector: span[style="font-size:small;"]
description:
text: "{{ .Result.genre }}"
downloadvolumefactor: downloadvolumefactor:
case: case:
"i:contains(\"(Free)\")": 0 "i:contains(\"(Free)\")": 0