Skip to content

brightdata/bright-data-browser-api-python-playwright-project

Repository files navigation

Bright Data Browser API Python Playwright Project

Bright Data Promo

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.

Getting Started

  1. Replace YOUR_BRIGHT_DATA_BROWSER_API_ENDPOINT with your actual Bright Data Browser API WebSocket endpoint in index.py
  2. Replace "https://example.com with your target URL
  3. Run pip install -r requirements.txt to install dependencies
  4. Run python index.py to start scraping

Demo

bright-data-scraping-browser-node-playwright-demo.mp4

Examples

  1. Booking.com Hotel Scraping Demo
  2. Amazon Product Scraping Demo

About

Bright Data Browser API Python playwright boilerplate code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages