brightdata-hello-world

Featured

Create a minimal working Bright Data example. Use when starting a new Bright Data integration, testing your setup, or learning basic Bright Data API patterns. Trigger with phrases like "brightdata hello world", "brightdata example", "brightdata quick start", "simple brightdata code".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Bright Data Hello World ## Overview Scrape a real webpage through Bright Data's Web Unlocker proxy. Web Unlocker handles CAPTCHAs, fingerprinting, and retries automatically — you send a normal HTTP request through the proxy endpoint at `brd.superproxy.io:33335`. ## Prerequisites - Completed `brightdata-install-auth` setup - Web Unlocker zone active in Bright Data control panel - `brd-ca.crt` SSL certificate downloaded ## Instructions ### Step 1: Scrape via Web Unlocker Proxy (Node.js) ```typescript // hello-brightdata.ts import axios from 'axios'; import https from 'https'; import 'dotenv/config'; const { BRIGHTDATA_CUSTOMER_ID, BRIGHTDATA_ZONE, BRIGHTDATA_ZONE_PASSWORD } = process.env; const proxy = { host: 'brd.superproxy.io', port: 33335, auth: { username: `brd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}`, password: BRIGHTDATA_ZONE_PASSWORD!, }, }; async function scrape(url: string) { const response = await axios.get(url, { proxy, httpsAgent: new https.Agent({ rejectUnauthorized: false }), timeout: 60000, }); console.log(`Status: ${response.status}`); console.log(`Content length: ${response.data.length} chars`); console.log(response.data.substring(0, 500)); return response.data; } scrape('https://example.com').catch(console.error); ``` ### Step 2: Scrape via REST API ```typescript // hello-brightdata-api.ts import 'dotenv/config'; async function scrapeViaAPI(url: string) { const response = await fetch...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category