mirror of
https://github.com/Radarr/Radarr
synced 2026-01-03 06:03:47 +01:00
Follow redirects for usenet grabs on non-prod builds
This commit is contained in:
parent
358ce92f85
commit
c92d8c08f1
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ public override async Task<string> Download(RemoteMovie remoteMovie, IIndexer in
|
|||
{
|
||||
var request = indexer?.GetDownloadRequest(url) ?? new HttpRequest(url);
|
||||
request.RateLimitKey = remoteMovie?.Release?.IndexerId.ToString();
|
||||
request.AllowAutoRedirect = true;
|
||||
|
||||
var response = await RetryStrategy
|
||||
.ExecuteAsync(static async (state, _) => await state._httpClient.GetAsync(state.request), (_httpClient, request))
|
||||
|
|
|
|||
Loading…
Reference in a new issue