1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 07:43:13 +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
download:
selectors:
- selector: a[href$=".torrent"]
before:
pathselector:
selector: a[href^="/download?"]
attribute: href
filters:
- name: replace
args: ["/download?", "/download/?"]
selectors:
- selector: script:contains("downloadLink")
usebeforeresponse: true
filters:
- name: regexp
args: "downloadLink = '(.+?)';"
search:
paths: