chore: попытка сделать так же как у scrapling

This commit is contained in:
protokey committed 2026-09-23 14:40:50 +04:00
1 parent 8a464391a2
commit 8f8bc62ae7
5 files changed
+215 -87

No files matched your search

+2 -1
View File
@@ -84,7 +84,8 @@ class CloudflareDetector(Detector):
async def detect(self, page: Page, info: ChallengeInfo):
log.debug("CloudflareDetector run")
await wait_for_page_stability(page, False, True)
await wait_for_networkidle(page)
log.debug("Страница загружена полностью")
info.meta = {}
widget_selector = "div.cf-turnstile[data-sitekey], div[data-sitekey].cf-turnstile"