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:
parent
31847f6e81
commit
9271095b61
1 changed files with 12 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue