add support for magnet file download links

This commit is contained in:
kaso17
2017-11-09 13:28:15 +01:00
parent 6d53e486c5
commit a6b5401c0b
7 changed files with 45 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ namespace Jackett.Services
}
}
public Uri ConvertToProxyLink(Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t.torrent")
public Uri ConvertToProxyLink(Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t")
{
if (link == null || (link.IsAbsoluteUri && link.Scheme == "magnet"))
return link;