mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Fix downloading releases without an indexer
(cherry picked from commit ca8b26138e3ebd793cc1a5fd51522ce3eda8a2e1) Closes #2426
This commit is contained in:
@@ -44,7 +44,7 @@ namespace NzbDrone.Core.Download
|
||||
|
||||
try
|
||||
{
|
||||
var request = indexer.GetDownloadRequest(url);
|
||||
var request = indexer?.GetDownloadRequest(url) ?? new HttpRequest(url);
|
||||
request.RateLimitKey = remoteBook?.Release?.IndexerId.ToString();
|
||||
|
||||
nzbData = _httpClient.Get(request).ResponseData;
|
||||
|
||||
Reference in New Issue
Block a user