mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
epublibre: fix torrent download with retry (#8021)
This commit is contained in:
@@ -148,7 +148,7 @@ namespace Jackett.Common.Indexers
|
|||||||
|
|
||||||
public override async Task<byte[]> Download(Uri link)
|
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))
|
if (SobrecargaUrl.Equals(result.RedirectingTo))
|
||||||
throw new Exception("El servidor se encuentra sobrecargado en estos momentos. / The server is currently overloaded.");
|
throw new Exception("El servidor se encuentra sobrecargado en estos momentos. / The server is currently overloaded.");
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user