From 5431d72db53312ae490792c98fc898380f67e0a0 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 4 Dec 2021 18:25:21 +0000 Subject: [PATCH] oxtorrent: update magnet selector. resolves #12638 --- src/Jackett.Common/Definitions/oxtorrent.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/oxtorrent.yml b/src/Jackett.Common/Definitions/oxtorrent.yml index 08ba5572c..ef8b9a1fd 100644 --- a/src/Jackett.Common/Definitions/oxtorrent.yml +++ b/src/Jackett.Common/Definitions/oxtorrent.yml @@ -87,8 +87,10 @@ settings: download: selectors: - - selector: a[href^="magnet:?"] - attribute: href + - selector: script:contains("magnet:?") + filters: + - name: regexp + args: "\\s'(magnet:\\?.+?)';" search: paths: