mirror of https://github.com/Jackett/Jackett
AnimeBytes: automatically re-login
This commit is contained in:
parent
9b0a03d002
commit
ad921afe94
|
@ -210,6 +210,13 @@ namespace Jackett.Indexers
|
|||
|
||||
// Get the content from the tracker
|
||||
var response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||
if (response.IsRedirect)
|
||||
{
|
||||
// re-login
|
||||
ApplyConfiguration(null);
|
||||
response = await RequestStringWithCookiesAndRetry(queryUrl);
|
||||
}
|
||||
|
||||
CQ dom = response.Content;
|
||||
|
||||
// Parse
|
||||
|
|
Loading…
Reference in New Issue