tribalmixes: selector changes, add files.

This commit is contained in:
Garfield69 2022-05-13 20:58:19 +12:00
parent 22e3083dc1
commit fc1984f05c
1 changed files with 10 additions and 2 deletions

View File

@ -92,9 +92,9 @@ search:
- name: querystring
args: cat
title:
selector: a[href*="/torrent/"]
selector: a[href*="/details.php?id="]
details:
selector: a[href*="/torrent/"]
selector: a[href*="/details.php?id="]
attribute: href
download:
selector: a[href^="/download.php?id="]
@ -105,6 +105,14 @@ search:
filters:
- name: regexp
args: "Size: (.+?)<"
files_optional:
selector: a[href^="/download.php?id="]
attribute: title
filters:
- name: regexp
args: "\\((\\d+) files\\)"
files:
text: "{{ if .Result.files_optional }}{{ .Result.files_optional }}{{ else }}1{{ end }}"
seeders:
selector: a[href^="/download.php?id="]
attribute: title