mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
BitHUmen: imporve download link handling
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user