mirror of https://github.com/Jackett/Jackett
AlphaRatio: automatic re-login is necessary
This commit is contained in:
parent
d259f3df0d
commit
5b641a5efc
|
@ -137,6 +137,11 @@ namespace Jackett.Indexers
|
|||
|
||||
searchUrl += queryCollection.GetQueryString();
|
||||
var response = await RequestStringWithCookiesAndRetry(searchUrl);
|
||||
if (response.IsRedirect)
|
||||
{
|
||||
await ApplyConfiguration(null);
|
||||
response = await RequestStringWithCookiesAndRetry(searchUrl);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue