mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-23 07:12:31 +00:00
do not skip challenged
This commit is contained in:
1 parent
58f230dce3
commit
aabff0a65f
2 files changed
+6
-3
No files matched your search
@@ -98,7 +98,7 @@ async def bypass_cloudflare(page: webdriver.Tab):
|
||||
raise InvalidElementError
|
||||
|
||||
for attr in parent.attributes:
|
||||
if attr == "display: none; visibility: hidden;":
|
||||
if attr == "display: none; visibility: hidden;" and not loaded:
|
||||
loaded = True
|
||||
logger.info("Page loaded")
|
||||
|
||||
|
||||
Reference in new issue
Block a user