mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-26 23:06:43 -04:00
Fixed: (Shazbat) Simplify conditions for CheckIfLoginNeeded
This commit is contained in:
@@ -93,9 +93,7 @@ public class Shazbat : TorrentIndexerBase<ShazbatSettings>
|
||||
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user