BitHUmen: imporve download link handling

This commit is contained in:
kaso17
2018-09-04 15:49:12 +02:00
parent d0937d3561
commit fc060d6468

View File

@@ -69,9 +69,18 @@
filters: filters:
- name: andmatch - name: andmatch
fields: fields:
# download button can be disbled in the profile, use details link instead
# download:
# selector: a[href^="download.php/"]
# attribute: href
download: download:
selector: a[href^="download.php/"] selector: a[href^="details.php?id="]
attribute: href attribute: href
filters:
- name: replace
args: ["details.php?id=", "download.php/"]
- name: append
args: "/invalid.torrent"
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
title: title: