mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02: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:
@@ -57,9 +57,22 @@ settings:
|
|||||||
asc: asc
|
asc: asc
|
||||||
|
|
||||||
download:
|
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:
|
selectors:
|
||||||
- selector: a[href^="magnet:?xt"]
|
infohash:
|
||||||
|
hash:
|
||||||
|
selector: a[href^="magnet:?xt"]
|
||||||
attribute: href
|
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:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
Reference in New Issue
Block a user