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