cpasbienclone: fix download links. resolves #13586

This commit is contained in:
ilike2burnthing 2022-09-25 11:42:20 +01:00 committed by GitHub
parent b9713c1dcf
commit 8d4c5b8a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -71,9 +71,12 @@ settings:
trie-nom-a: title asc
download:
before:
# request target
path: "download_magnet?id={{ re_replace .DownloadUri.AbsoluteUri \"^.*-(\\d+)\\.html\" \"$1\" }}"
selectors:
- selector: a[href^="magnet:"]
attribute: href
- selector: body
usebeforeresponse: true
search:
paths: