Commit
·
fe2626e
1
Parent(s):
cf7cbe0
updated screenshot route
Browse files- webrify2.py +1 -1
webrify2.py
CHANGED
@@ -223,7 +223,7 @@ async def get_screenshot(url: str):
|
|
223 |
page, browser, pw = await get_page(url)
|
224 |
try:
|
225 |
# Go to the page and wait until the network is idle
|
226 |
-
await page.goto(url, wait_until="networkidle", timeout=
|
227 |
|
228 |
# Wait for the header (or similar element) to load
|
229 |
try:
|
|
|
223 |
page, browser, pw = await get_page(url)
|
224 |
try:
|
225 |
# Go to the page and wait until the network is idle
|
226 |
+
await page.goto(url, wait_until="networkidle", timeout=90000)
|
227 |
|
228 |
# Wait for the header (or similar element) to load
|
229 |
try:
|