From e94d5eb7dc6be55b15f2f645d0506900b6f7e5d8 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 3 Feb 2024 01:07:07 +0000 Subject: [PATCH] mircrew: fix broken magnets. resolves #15034 --- src/Jackett.Common/Definitions/mircrew.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/mircrew.yml b/src/Jackett.Common/Definitions/mircrew.yml index 26e811fdb..0ab226df2 100644 --- a/src/Jackett.Common/Definitions/mircrew.yml +++ b/src/Jackett.Common/Definitions/mircrew.yml @@ -101,8 +101,11 @@ download: selector: ul.post-buttons li:nth-last-child(1) a attribute: href selectors: - - selector: a[href^="magnet:?xt="] + - selector: a[href*="magnet:?xt="] attribute: href + filters: + - name: re_replace + args: ["\n", ""] search: paths: