You know who I am
Project description
undetected-playwright
Usage
-
Download PyPi package
pip install -U undetected-playwright
-
Run the demo
As before.
from playwright.sync_api import BrowserContext, sync_playwright from undetected_playwright import stealth_sync headless = True def run(context: BrowserContext): page = context.new_page() page.goto("https://bot.sannysoft.com/") _suffix = "-headless" if headless else "-headful" page.screenshot(path=f"result/sannysoft{_suffix}.png", full_page=True) def bytedance(): with sync_playwright() as p: browser = p.chromium.launch(headless=headless) context = browser.new_context() stealth_sync(context) run(context) if __name__ == "__main__": bytedance()
Reference
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for undetected-playwright-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63638378eb9ac3b02f3d61c4797f21f261a37621351f9fc4d33df6cee85f4f17 |
|
MD5 | 1504bd57c5e4c47e79fbbdf1adf33dad |
|
BLAKE2b-256 | 4b149a3a450d6c1e9e884d9844cde86f541674133b302624377642e1805121a4 |
Close
Hashes for undetected_playwright-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a3b74ba3ac5efa76f8f07e460c974bacd235a3f55d41e1abbc3b145aaa1df9 |
|
MD5 | 30071b50eb6a60cf66286b7c6dc8cbec |
|
BLAKE2b-256 | c1b1e275c2046324e197d435c92c206cf3897a8ba523c12ea8d86c9805f9a98a |