mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 06:03:09 +00:00
scenetime: add query retry. resolves #13328
This commit is contained in:
parent
121820c837
commit
bc4703574c
1 changed files with 6 additions and 1 deletions
|
@ -133,7 +133,12 @@ namespace Jackett.Common.Indexers
|
||||||
|
|
||||||
// response without results (the message is misleading)
|
// response without results (the message is misleading)
|
||||||
if (results.ContentString?.Contains("slow down geek!!!") == true)
|
if (results.ContentString?.Contains("slow down geek!!!") == true)
|
||||||
return new List<ReleaseInfo>();
|
{
|
||||||
|
logger.Warn($"SceneTime: Query Limit exceeded, retrying in 5 seconds.");
|
||||||
|
webclient.requestDelay = 5;
|
||||||
|
results = await RequestWithCookiesAsync(searchUrl);
|
||||||
|
webclient.requestDelay = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// not logged in
|
// not logged in
|
||||||
if (results.ContentString == null || !results.ContentString.Contains("/logout.php"))
|
if (results.ContentString == null || !results.ContentString.Contains("/logout.php"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue