mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
PreToMe: automatic re-login is necessary
This commit is contained in:
@@ -270,6 +270,12 @@ namespace Jackett.Indexers
|
|||||||
|
|
||||||
var response = await RequestStringWithCookiesAndRetry(queryUrl);
|
var response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||||
|
|
||||||
|
if (response.IsRedirect)
|
||||||
|
{
|
||||||
|
await ApplyConfiguration(null);
|
||||||
|
response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
CQ dom = response.Content;
|
CQ dom = response.Content;
|
||||||
|
Reference in New Issue
Block a user