apexherbert200 commited on
Commit
e8b6f26
·
1 Parent(s): 3b5b98b

Building new logic

Browse files
Files changed (1) hide show
  1. screenshot.py +1 -1
screenshot.py CHANGED
@@ -28,7 +28,7 @@ async def analyze_website(url: str):
28
 
29
  # Start timing
30
  start_time = time.time()
31
- response = await page.goto(url, timeout=60000, wait_until='domcontentloaded')
32
  load_time = round(time.time() - start_time, 2)
33
 
34
  # Wait for content
 
28
 
29
  # Start timing
30
  start_time = time.time()
31
+ response = await page.goto(url, timeout=120000)
32
  load_time = round(time.time() - start_time, 2)
33
 
34
  # Wait for content