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

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 {