mirror of https://github.com/Jackett/Jackett
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
|
@ -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…
Reference in New Issue