0

Update main.py

This commit is contained in:
Nicolas 2024-05-22 10:40:47 -07:00
parent c47dae13a9
commit 3e63985e53

View File

@ -35,7 +35,6 @@ async def root(body: UrlModel):
wait_until="load",
timeout=body.wait if body.wait else 15,
)
await page.wait_for_selector("body", state="attached")
page_content = await page.content()
await context.close()
json_compatible_item_data = {"content": page_content}