Open in CodeSandbox, sign in with GitHub account, then fork the repository to begin making changes.
This project demonstrates how to use Bright Data Browser API to scrape data from websites using python.js and Playwright.
- Replace
YOUR_BRIGHT_DATA_BROWSER_API_ENDPOINT
with your actual Bright Data Browser API WebSocket endpoint inindex.py
- Replace
"https://example.com
with your target URL - Run
pip install -r requirements.txt
to install dependencies - Run
python index.py
to start scraping