mirror of https://github.com/Jackett/Jackett
GazelleGames: add relogin detection
This commit is contained in:
parent
313147d224
commit
54465798e9
|
@ -219,6 +219,11 @@ namespace Jackett.Common.Indexers
|
|||
searchUrl += "?" + queryCollection.GetQueryString();
|
||||
|
||||
var results = await RequestStringWithCookies(searchUrl);
|
||||
if (results.IsRedirect && results.RedirectingTo.EndsWith("login.php"))
|
||||
{
|
||||
throw new Exception("relogin needed, please update your cookie");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
string RowsSelector = ".torrent_table > tbody > tr";
|
||||
|
|
Loading…
Reference in New Issue