1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

epublibre: fix torrent download with retry (#8021)

This commit is contained in:
Diego Heras 2020-04-04 07:04:58 +02:00 committed by GitHub
parent 4741902ade
commit 4d058ef8b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ namespace Jackett.Common.Indexers
public override async Task<byte[]> Download(Uri link)
{
var result = await RequestStringWithCookies(link.AbsoluteUri);
var result = await RequestStringWithCookiesAndRetry(link.AbsoluteUri);
if (SobrecargaUrl.Equals(result.RedirectingTo))
throw new Exception("El servidor se encuentra sobrecargado en estos momentos. / The server is currently overloaded.");
try {