Fixed: Test code causing grabs to break

This commit is contained in:
Robin Dadswell 2021-05-31 21:49:26 +01:00
parent 999427854a
commit 2adf1b860d

View file

@ -110,7 +110,7 @@ public async Task<object> GetDownload(int id, string link, string file)
var source = UserAgentParser.ParseSource(Request.Headers["User-Agent"]);
var host = Request.GetHostName();
var unprotectedlLink = "https://superbits.org/api/v1/torrents/download/797354";
var unprotectedlLink = _downloadMappingService.ConvertToNormalLink(link);
// If Indexer is set to download via Redirect then just redirect to the link
if (indexer.SupportsRedirect && indexerDef.Redirect)