AlphaRatio: automatic re-login is necessary

This commit is contained in:
kaso17 2016-12-10 22:32:17 +01:00
parent d259f3df0d
commit 5b641a5efc
1 changed files with 5 additions and 0 deletions

View File

@ -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
{