mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
bitsearch: use download block infohash
the magnet URI on this site exceeds 2048 bytes which some interfaces will reject. So we use the infohash and build our own.
This commit is contained in:
parent
cdecd9d09a
commit
bb8d6fe827
1 changed files with 14 additions and 1 deletions
|
@ -57,9 +57,22 @@ settings:
|
|||
asc: asc
|
||||
|
||||
download:
|
||||
# the magnet URI on this site exceeds 2048 bytes which some interfaces will reject. So we use the infohash and build our own.
|
||||
selectors:
|
||||
- selector: a[href^="magnet:?xt"]
|
||||
infohash:
|
||||
hash:
|
||||
selector: a[href^="magnet:?xt"]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: ([A-F|a-f|0-9]{40})
|
||||
title:
|
||||
selector: a[href^="magnet:?xt"]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "&dn=(.+?)$"
|
||||
- name: validfilename
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
|
Loading…
Add table
Reference in a new issue