Skip to content

Commit

Permalink
btdb: btdb: fix magnet selector
Browse files Browse the repository at this point in the history
reverts eddc84e
  • Loading branch information
ilike2burnthing committed Jan 28, 2021
1 parent 3e25720 commit 0694569
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/Jackett.Common/Definitions/btdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0694569

Please sign in to comment.