diff --git a/src/Jackett/Indexers/CardigannIndexer.cs b/src/Jackett/Indexers/CardigannIndexer.cs index 67dc40664..c03a2d89a 100644 --- a/src/Jackett/Indexers/CardigannIndexer.cs +++ b/src/Jackett/Indexers/CardigannIndexer.cs @@ -333,7 +333,7 @@ namespace Jackett.Indexers var pairs = new Dictionary(); configData.CookieHeader.Value = null; - var landingResult = await RequestLoginAndFollowRedirect(LoginUrl, pairs, null, false, null, SiteLink, true); + var landingResult = await RequestStringWithCookies(LoginUrl, null, SiteLink); var htmlParser = new HtmlParser(); var landingResultDocument = htmlParser.Parse(landingResult.Content); @@ -692,7 +692,15 @@ namespace Jackett.Indexers switch (Field.Key) { case "download": - release.Link = resolvePath(value); + if (value.StartsWith("magnet:")) + { + release.MagnetUri = new Uri(value); + release.Link = release.MagnetUri; + } + else + { + release.Link = resolvePath(value); + } break; case "details": var url = resolvePath(value);