mirror of https://github.com/Jackett/Jackett
PreToMe: automatic re-login is necessary
This commit is contained in:
parent
55f2951694
commit
c40c176b72
|
@ -270,6 +270,12 @@ namespace Jackett.Indexers
|
|||
|
||||
var response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||
|
||||
if (response.IsRedirect)
|
||||
{
|
||||
await ApplyConfiguration(null);
|
||||
response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
CQ dom = response.Content;
|
||||
|
|
Loading…
Reference in New Issue