mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
EliteTracker: relogin if necessary
This commit is contained in:
@@ -154,6 +154,12 @@ namespace Jackett.Indexers
|
|||||||
queryCollection.Add("category", "0"); // multi cat search not supported
|
queryCollection.Add("category", "0"); // multi cat search not supported
|
||||||
|
|
||||||
var results = await PostDataWithCookies(BrowseUrl, queryCollection);
|
var results = await PostDataWithCookies(BrowseUrl, queryCollection);
|
||||||
|
if (results.IsRedirect)
|
||||||
|
{
|
||||||
|
// re-login
|
||||||
|
await ApplyConfiguration(null);
|
||||||
|
results = await PostDataWithCookies(BrowseUrl, queryCollection);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user