apexherbert200 commited on
Commit
fe2626e
·
1 Parent(s): cf7cbe0

updated screenshot route

Browse files
Files changed (1) hide show
  1. 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=60000)
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: