diff --git a/src/Jackett.Common/Definitions/btdb.yml b/src/Jackett.Common/Definitions/btdb.yml index d23b0c120..a37149b4c 100644 --- a/src/Jackett.Common/Definitions/btdb.yml +++ b/src/Jackett.Common/Definitions/btdb.yml @@ -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