From 0f32d258a3b27d21bccedcf067e9b29191b9bc6f Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 25 Sep 2022 07:35:27 +1300 Subject: [PATCH] jav-torrent: magnets are optional. resolves #13580 --- src/Jackett.Common/Definitions/jav-torrent.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Jackett.Common/Definitions/jav-torrent.yml b/src/Jackett.Common/Definitions/jav-torrent.yml index 33e9c80d4..3846b27ec 100644 --- a/src/Jackett.Common/Definitions/jav-torrent.yml +++ b/src/Jackett.Common/Definitions/jav-torrent.yml @@ -33,8 +33,13 @@ search: selector: h5 a attribute: href download: + selector: a[href*="/download/torrent/"] + attribute: href + optional: true + magnet: selector: a[href^="magnet:?xt="] attribute: href + optional: true date: text: now size: