torrent911: new details selector

This commit is contained in:
Garfield69 2024-02-13 06:09:50 +13:00
parent 397f3c7506
commit 7b5caa0de5
1 changed files with 6 additions and 4 deletions

View File

@ -102,7 +102,7 @@ search:
args: ["(?i)(S)(\\d{1,3})$", "saison $2"]
rows:
selector: table.table-hover > tbody > tr:has(a[href*="torrent/"])
selector: table.table-hover > tbody > tr:has(a[onclick*="torrent/"])
filters:
- name: andmatch
@ -131,10 +131,12 @@ search:
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
details:
selector: td:nth-child(1) a
attribute: href
attribute: onclick
filters:
- name: regexp
args: (torrent/\d+)
download:
selector: td:nth-child(1) a
attribute: href
text: "{{ .Result.details }}"
size:
selector: td:nth-child(2)
date: