Torrent-Syndikat: add auto relogin

This commit is contained in:
kaso17
2017-07-06 21:16:53 +02:00
parent 4f938e3ea8
commit dabd95655b

View File

@@ -147,6 +147,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;