From 7c7c27847faa87e70b598cb69b53bacb2fcbaa47 Mon Sep 17 00:00:00 2001 From: garfield69 Date: Sun, 4 Jun 2017 00:54:57 +1200 Subject: [PATCH] add magnet to nyaa.si definition (#1440) --- src/Jackett/Definitions/nyaasi.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Jackett/Definitions/nyaasi.yml b/src/Jackett/Definitions/nyaasi.yml index 6e8901d88..49502dcf7 100644 --- a/src/Jackett/Definitions/nyaasi.yml +++ b/src/Jackett/Definitions/nyaasi.yml @@ -84,7 +84,10 @@ selector: td:nth-child(2) a attribute: href download: - selector: td:nth-child(3) a + selector: td:nth-child(3) a[href$=".torrent"] + attribute: href + magnet: + selector: td:nth-child(3) a[href^="magnet:?"] attribute: href size: selector: td:nth-child(4)