mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-19 11:20:49 +02:00
Fixed: (Shazbat) Simplify conditions for CheckIfLoginNeeded
This commit is contained in:
parent
41a9d2d732
commit
5d09c2b5fa
1 changed files with 1 additions and 3 deletions
|
|
@ -93,9 +93,7 @@ protected override async Task DoLogin()
|
|||
|
||||
protected override bool CheckIfLoginNeeded(HttpResponse response)
|
||||
{
|
||||
return !response.Content.Contains("onclick=\"document.location='logout'\"") &&
|
||||
!response.Content.Contains("show_id") && !response.Content.Contains("Filename") &&
|
||||
!response.Content.Contains("Peers") && !response.Content.Contains("Download");
|
||||
return response.Content.ContainsIgnoreCase("sign in now");
|
||||
}
|
||||
|
||||
private IndexerCapabilities SetCapabilities()
|
||||
|
|
|
|||
Loading…
Reference in a new issue