mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
bitsearch: update download selectors
This commit is contained in:
@@ -20,6 +20,7 @@ caps:
|
|||||||
"Music/Album": Audio
|
"Music/Album": Audio
|
||||||
"Music/mp3": Audio/MP3
|
"Music/mp3": Audio/MP3
|
||||||
"Music/Lossless": Audio/Lossless
|
"Music/Lossless": Audio/Lossless
|
||||||
|
"Music/Video": Audio/Video
|
||||||
Other: Other
|
Other: Other
|
||||||
"Other/Android": PC/Mobile-Android
|
"Other/Android": PC/Mobile-Android
|
||||||
"Other/Archive": Other
|
"Other/Archive": Other
|
||||||
@@ -62,23 +63,6 @@ settings:
|
|||||||
desc: desc
|
desc: desc
|
||||||
asc: asc
|
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.
|
|
||||||
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:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://bitsearch.to/search?q=&sort=date&order=desc
|
# https://bitsearch.to/search?q=&sort=date&order=desc
|
||||||
@@ -100,8 +84,14 @@ search:
|
|||||||
selector: h5 a
|
selector: h5 a
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: h5 a
|
selector: a[class="dl-torrent"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
infohash:
|
||||||
|
selector: a[href^="magnet:?xt"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: ([A-F|a-f|0-9]{40})
|
||||||
grabs:
|
grabs:
|
||||||
selector: div.stats div:has(img[alt="Download"])
|
selector: div.stats div:has(img[alt="Download"])
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user