1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-29 19:27:22 +00:00

btdb: fix magnet selector

This commit is contained in:
ilike2burnthing 2021-01-24 22:26:42 +00:00 committed by GitHub
parent d36325b990
commit eddc84e22f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,8 +87,13 @@ search:
attribute: href
optional: true
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
selector: a[onclick*="magnet:?xt="]
attribute: onclick
filters:
- name: replace
args: ["hitsTracker();location.href = '", ""]
- name: replace
args: ["'; ", ""]
poster:
selector: a.img-thumbnail img
attribute: src