beyond-hd: support for new layout #10288

This commit is contained in:
Garfield69 2020-11-25 07:43:21 +13:00
parent e84bd715d7
commit 807c1b1df9
2 changed files with 8 additions and 22 deletions

View File

@ -64,8 +64,7 @@ search:
qty: 100
rows:
selector: div.table-torrents > table > tbody > tr
after: 1
selector: div.table-torrents > table > tbody > tr[id^="torrentposter"]
fields:
_category:
@ -79,18 +78,12 @@ search:
text: "{{ if .Result._category }}{{ .Result._category }}{{ else }}1{{ end }}"
title:
selector: a.torrent-name
download:
selector: a[href*="/download/"]
attribute: href
details:
selector: a.torrent-name
attribute: href
poster:
selector: div.torrent-poster img
attribute: src
filters:
- name: replace
args: ["/img/person.png", ""]
download:
selector: a[href*="/download/"]
attribute: href
date:
selector: td:not(a[href$="/history"]) span.text-orange
filters:

View File

@ -84,8 +84,7 @@ search:
qty: 100
rows:
selector: div.table-torrents > table > tbody > tr
after: 1
selector: div.table-torrents > table > tbody > tr[id^="torrentposter"]
fields:
_category:
@ -99,18 +98,12 @@ search:
text: "{{ if .Result._category }}{{ .Result._category }}{{ else }}1{{ end }}"
title:
selector: a.torrent-name
download:
selector: a[href*="/download/"]
attribute: href
details:
selector: a.torrent-name
attribute: href
poster:
selector: div.torrent-poster img
attribute: src
filters:
- name: replace
args: ["/img/person.png", ""]
download:
selector: a[href*="/download/"]
attribute: href
date:
selector: td:not(a[href$="/history"]) span.text-orange
filters: