pyppeteer stealth
Project description
pyppeteer-stealth
Transplanted from puppeteer-extra-plugin-stealth, Not perfect.
Usage
import asyncio
from pyppeteer import launch
from pyppeteer_stealth import stealth
async def main():
browser = await launch(headless=True)
page = await browser.newPage()
await stealth(page) # <-- Here
await page.goto("https://bot.sannysoft.com/")
await browser.close()
asyncio.get_event_loop().run_until_complete(main())
Test results
Pyppeteer without stealth
Pyppeteer with stealth
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.