mirror of
https://github.com/Jackett/Jackett
synced 2025-01-19 14:10:07 +00:00
epublibre: fix torrent download with retry (#8021)
This commit is contained in:
parent
4741902ade
commit
4d058ef8b1
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue