2
0

Mangasee fix cloudflare 520

This commit is contained in:
Glax 2024-02-07 14:53:57 +01:00
parent db64b717eb
commit d8df6eccb1

View File

@ -122,7 +122,7 @@ public class Mangasee : MangaConnector
string publicationId = publicationIdRex.Match(url).Groups[1].Value;
RequestResult requestResult = this.downloadClient.MakeRequest(url, 1);
if(requestResult.htmlDocument is not null)
if((int)requestResult.statusCode < 300 && (int)requestResult.statusCode >= 200 && requestResult.htmlDocument is not null)
return ParseSinglePublicationFromHtml(requestResult.htmlDocument, publicationId);
return null;
}