A plugin for playwright to prevent detection.
Project description
playwright-spy [
A plugin for playwright-python to prevent detection.
Install
pip install playwright-spy
Usage
Page
from playwright.sync_api import sync_playwright
import playwright_spy
with sync_playwright() as p:
browser = p.chromium.launch()
page = browser.new_page()
playwright_spy.load_sync(page)
page.goto("https://bot.sannysoft.com/")
page.screenshot(path="example.png", full_page=True)
browser.close()
Context
from playwright.sync_api import sync_playwright
import playwright_spy
with sync_playwright() as p:
browser = p.chromium.launch()
context = browser.new_context()
playwright_spy.load_sync(context)
page = context.new_page()
page.goto("https://bot.sannysoft.com/")
page.screenshot(path="example.png", full_page=True)
browser.close()
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.
Source Distribution
playwright-spy-1.0.2.tar.gz
(18.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file playwright-spy-1.0.2.tar.gz.
File metadata
- Download URL: playwright-spy-1.0.2.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e73c5ea63af23111d28c1a34b806555d72bcf7d1cbd2d655a6ea0765a91d34d7
|
|
| MD5 |
0c9522380e7b2638f7b5cb38618f336f
|
|
| BLAKE2b-256 |
6af053d0c4acedd8be66a6786a668d2c4f3fd6c492b248981240b8c497d0c994
|
File details
Details for the file playwright_spy-1.0.2-py3-none-any.whl.
File metadata
- Download URL: playwright_spy-1.0.2-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ea560aeebaa800c1b55d18086b5491ac641e9b1cd1f046507164334380f2c8d
|
|
| MD5 |
9e30383997a6aedcaef07bbdd15bd570
|
|
| BLAKE2b-256 |
600c4a4c5530423aa100cba9ba294e99601fb75a2936eac90361a52da29207da
|