mirror of https://github.com/Jackett/Jackett
House Of Torrents: automatic re-login is necessary
This commit is contained in:
parent
5b641a5efc
commit
55f2951694
|
@ -148,6 +148,13 @@ namespace Jackett.Indexers
|
|||
searchUrl += "?" + queryCollection.GetQueryString();
|
||||
|
||||
var results = await RequestStringWithCookiesAndRetry(searchUrl);
|
||||
|
||||
if (results.IsRedirect)
|
||||
{
|
||||
await ApplyConfiguration(null);
|
||||
results = await RequestStringWithCookiesAndRetry(searchUrl);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
CQ dom = results.Content;
|
||||
|
|
Loading…
Reference in New Issue