mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-05 22:04:27 +01:00
do not skip challenged
This commit is contained in:
@@ -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