diff --git a/src/Jackett.Common/Definitions/btdb.yml b/src/Jackett.Common/Definitions/btdb.yml index 31b865c2a..fd9b3acc1 100644 --- a/src/Jackett.Common/Definitions/btdb.yml +++ b/src/Jackett.Common/Definitions/btdb.yml @@ -88,13 +88,8 @@ search: attribute: href optional: true magnet: - selector: a[onclick*="magnet:?xt="] - attribute: onclick - filters: - - name: replace - args: ["hitsTracker();location.href = '", ""] - - name: replace - args: ["'; ", ""] + selector: a[href^="magnet:?xt="] + attribute: href poster: selector: a.img-thumbnail img attribute: src