tribalmixes: selector changes, add files.

This commit is contained in:
Garfield69
2022-05-13 20:58:19 +12:00
parent 22e3083dc1
commit fc1984f05c

View File

@@ -92,9 +92,9 @@ search:
- name: querystring - name: querystring
args: cat args: cat
title: title:
selector: a[href*="/torrent/"] selector: a[href*="/details.php?id="]
details: details:
selector: a[href*="/torrent/"] selector: a[href*="/details.php?id="]
attribute: href attribute: href
download: download:
selector: a[href^="/download.php?id="] selector: a[href^="/download.php?id="]
@@ -105,6 +105,14 @@ search:
filters: filters:
- name: regexp - name: regexp
args: "Size: (.+?)<" 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: seeders:
selector: a[href^="/download.php?id="] selector: a[href^="/download.php?id="]
attribute: title attribute: title