Spaces:
Running
Running
Update get_xid.py
Browse files- get_xid.py +0 -3
get_xid.py
CHANGED
@@ -59,13 +59,10 @@ def main():
|
|
59 |
print("Cloudflare challenge likely passed.")
|
60 |
title = page.title()
|
61 |
print(f"New page title: {title}")
|
62 |
-
page.screenshot(path="cf_passed.png")
|
63 |
except Exception as e:
|
64 |
print(f"Failed to pass Cloudflare challenge after extended wait: {e}")
|
65 |
-
page.screenshot(path="cf_failed.png")
|
66 |
else:
|
67 |
print("Successfully navigated to the page.")
|
68 |
-
page.screenshot(path="cf_success.png")
|
69 |
|
70 |
|
71 |
page.wait_for_timeout(10000)
|
|
|
59 |
print("Cloudflare challenge likely passed.")
|
60 |
title = page.title()
|
61 |
print(f"New page title: {title}")
|
|
|
62 |
except Exception as e:
|
63 |
print(f"Failed to pass Cloudflare challenge after extended wait: {e}")
|
|
|
64 |
else:
|
65 |
print("Successfully navigated to the page.")
|
|
|
66 |
|
67 |
|
68 |
page.wait_for_timeout(10000)
|