mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
7Tor: add automatic relogin
This commit is contained in:
@@ -1641,6 +1641,11 @@ namespace Jackett.Indexers
|
||||
|
||||
var searchUrl = SearchUrl + "?" + queryCollection.GetQueryString();
|
||||
results = await RequestStringWithCookies(searchUrl);
|
||||
if (!results.Content.Contains("ucp.php?mode=logout"))
|
||||
{
|
||||
await ApplyConfiguration(null);
|
||||
results = await RequestStringWithCookies(searchUrl);
|
||||
}
|
||||
try
|
||||
{
|
||||
string RowsSelector = "ul.topics > li";
|
||||
|
Reference in New Issue
Block a user