1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-03 05:36:44 +00:00

mactorrentsdownload: new download process. resolves #12396

from the details page extract the path to the actual download page and then extract the download link from a script.
This commit is contained in:
Garfield69 2024-11-15 06:48:22 +13:00
parent 31847f6e81
commit 9271095b61

View file

@ -23,9 +23,19 @@ settings:
type: info_flaresolverr type: info_flaresolverr
download: download:
selectors: before:
- selector: a[href$=".torrent"] pathselector:
selector: a[href^="/download?"]
attribute: href attribute: href
filters:
- name: replace
args: ["/download?", "/download/?"]
selectors:
- selector: script:contains("downloadLink")
usebeforeresponse: true
filters:
- name: regexp
args: "downloadLink = '(.+?)';"
search: search:
paths: paths: