mirror of https://github.com/Jackett/Jackett
TVChaosUK: relogin if necessary
This commit is contained in:
parent
a8ddf21081
commit
7b2dd93f2f
|
@ -212,6 +212,13 @@ namespace Jackett.Indexers
|
|||
};
|
||||
|
||||
var searchPage = await PostDataWithCookiesAndRetry(SearchUrl, searchParams);
|
||||
if (searchPage.IsRedirect)
|
||||
{
|
||||
// re-login
|
||||
await ApplyConfiguration(null);
|
||||
searchPage = await PostDataWithCookiesAndRetry(SearchUrl, searchParams);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
CQ dom = searchPage.Content;
|
||||
|
|
Loading…
Reference in New Issue