Some sites fixed & cloudflare detection (#1178)

This commit is contained in:
Soxoj
2023-09-09 20:58:01 +02:00
committed by GitHub
parent 72a1f948ba
commit 90599ea3c2
2 changed files with 72 additions and 7 deletions
+6
View File
@@ -58,6 +58,12 @@ COMMON_ERRORS = {
'Сайт заблокирован хостинг-провайдером': CheckError(
'Site-specific', 'Site is disabled (Beget)'
),
'Generated by cloudfront (CloudFront)': CheckError(
'Request blocked', 'Cloudflare'
),
'/cdn-cgi/challenge-platform/h/b/orchestrate/chl_page': CheckError(
'Just a moment: bot redirect challenge', 'Cloudflare'
)
}
ERRORS_TYPES = {