This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import asyncio | |
from pyppeteer import launch | |
async def get_html(url): | |
browser = await launch() | |
page = await browser.newPage() | |
await page.goto(url) | |
html = await page.content() |