detect brave rangebans

(74665221c0)
This commit is contained in:
FbIN Support 2026-08-23 20:22:01 +05:30
commit 0e137605b0

View file

@ -1872,6 +1872,11 @@ class brave{
);
if(count($title) === 0){
if(strtolower($this->fuckhtml->getloadedhtml()) == "this service is not available in your region"){
throw new Exception("Brave rangebanned the IP range");
}
throw new Exception("Brave returned a malformed page");
}