import asyncio
from pyppeteer import launch
async def main():
browser = await launch()
page = await browser.newPage()
await page.goto('https://example.com')
html = await page.content()
print(html)
await browser.close()
asyncio.get_event_loop().run_until_complete(main())