본문으로 건너뛰기
Skillpedia
웹 스크레이핑20k · #10409

BrightData

하는 일

이 스킬은 AI가 웹 페이지의 내용을 가져오거나 사이트 전체를 크롤링해 마크다운으로 돌려주도록 합니다. 연구나 분석을 위해 페이지 텍스트가 필요하고 각 사이트의 이용 조건을 존중하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓웹 페이지를 읽거나 분석하기 위해 깨끗한 마크다운으로 바꾸고 싶을 때.
  • ✓웹사이트 전체를 크롤링해서 페이지를 모으고 싶을 때.
  • ✓페이지를 읽기 전에 실제 브라우저로 렌더링해야 하는 경우.

스킬 링크

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/BrightData/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/BrightData/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 페이지를 마크다운 텍스트로 가져와 주시고, 어떤 방법이 효과적이었는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 일반 요청처럼 가장 저렴한 방법부터 시도하고, 간단한 방법이 실패할 때만 브라우저나 관리형 가져오기 서비스로 넘어갑니다. 각 페이지에는 그것을 가져온 방법을 표시합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

BrightData

Fetches a single URL (FourTierScrape) or crawls a whole site (Crawl), moving through four tiers only as far as each page needs, always within the target site's terms and robots.txt. A site that refuses automated access is reported, not worked around. Output is always markdown. A Cloudflare Accept: text/markdown pre-check runs before Tier 1 (recipe in FourTierScrape.md).

Ideal State

  • Every page comes back as clean markdown that matches its URL, labeled with the tier that actually retrieved it.
  • Cost tracks need: free tiers are tried first, and paid Bright Data calls (Tier 4, whether for one URL or for the pages of a Light Crawl that need it, and Full Crawl) happen only when cheaper ones fail or the user confirms.
  • A crawl returns a site map, the page contents and its stats, with failed pages named rather than silently missing.

Intent Routing

Intent Trigger File
FourTierScrape "scrape/fetch/pull/get/retrieve [URL]", "fetch this page as markdown", "this page needs rendering", "use Bright Data to fetch" Intents/FourTierScrape.md
Crawl "crawl this site", "spider this domain", "map this website", "get all pages from", "scrape the whole site", "crawl all pages under /docs" Intents/Crawl.md

References

File Read when
Setup.md first-time setup: the free tiers, the paid Bright Data pieces (MCP server, API key, crawl dataset id), and a proof

The four tiers (tool contract)

Tier Tool Wins on Cost / latency
1 plain curl -sL, raw HTML converted to markdown locally public content free · ~1-3s
2 curl + declared user agent and Accept headers servers that need content negotiation free · ~3-7s
3 Interceptor (real Chrome) JavaScript-rendered / SPA pages free · ~10-20s
4 Bright Data MCP mcp__Brightdata__scrape_as_markdown managed rendering, region-specific fetches Bright Data credits · ~5-15s

Every tier returns the page itself. WebFetch is never a tier: it hands back a small model's summary of the page, not the page.

Skip-ahead: explicit "use Bright Data" → Tier 4; "use browser" → Tier 3; a domain that already failed Tier 1 for a non-refusal reason (empty body, timeout) → start at Tier 2. A CAPTCHA, block page or login wall at any tier ends the retrieval with a report. The exact curl header block, Cloudflare pre-check, and Interceptor commands live in Intents/FourTierScrape.md.

Data & Config

User customizations live at <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/BrightData/ (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude). If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there; they override default behavior. If it does not exist, proceed with skill defaults. First-time setup (accounts, keys, config, a proof it works) is in Setup.md.

The paid paths need pieces this skill does not install. Tier 4 needs the Bright Data MCP server, which supplies mcp__Brightdata__scrape_as_markdown and scrape_batch. Full Crawl needs BRIGHT_DATA_API_KEY and BRIGHT_DATA_CRAWL_DATASET_ID (the Crawl API dataset id from the Bright Data dashboard) in the environment. Before the first paid call, confirm the MCP tools are present in the session and that bun LIFEOS/TOOLS/Secrets.ts has BRIGHT_DATA_API_KEY BRIGHT_DATA_CRAWL_DATASET_ID prints yes for each key the call needs. When a piece is missing, stop at the last free tier and tell the user which piece is not configured; never report a Tier 4 or Full Crawl result that did not run.

Gotchas

  • Bright Data proxy has usage costs. Don't use Tier 4 for sites accessible via Tier 1-3.
  • Tier 4 is slower than the free tiers. Allow extra time for its responses.
  • Credentials belong in ~/.claude/.env — BRIGHT_DATA_API_KEY (the name Intents/Crawl.md commands read). Check as Data & Config says instead of assuming the paid tiers work.

Examples

  • "Fetch example.com/pricing as markdown" → FourTierScrape. The pre-check returns HTML, Tier 1 returns an empty body, and Tier 2's declared headers get the page, delivered as markdown labeled Tier 2. If Tier 1 had returned a block page instead, the reply would report the block and stop.
  • "Crawl the docs under docs.example.com/api/" → Crawl, a Light Crawl scoped to /api/, depth 3, at the default limit of 20 pages, which needs no confirmatio
자주 묻는 질문

웹사이트 규칙을 무시하나요?

아니요. 스킬은 각 사이트의 이용 약관과 robots.txt를 지키라고 하며, 자동 접근을 거부하는 사이트는 우회하지 않고 그대로 보고합니다.

비용이 드나요?

무료 방법을 먼저 시도합니다. 유료 가져오기는 저렴한 방법이 실패하거나 사용자가 확인했을 때만 실행됩니다.

크롤링은 무엇을 돌려주나요?

사이트 맵, 페이지 내용, 통계를 돌려주며, 실패한 페이지는 이름을 밝혀 보여 줍니다.

상세 정보

작성자의 원본 설명

4-tier page fetching that moves from plain curl to curl with declared headers to a real browser through Interceptor to Bright Data's managed fetch product, single URL or multi-page crawl, output as markdown, within each target site's terms. USE WHEN Bright Data, scrape URL, web scraping, crawl site, extract page content, scrape whole site, spider domain, convert URL to markdown, page needs rendering. NOT FOR simple public content (WebFetch), social data with named actors, logged-in browser sessions (Interceptor), or multi-source investigation (Research).

repo: danielmiessler/LifeOS

인기도

GitHub 스타
20k
순위
#10409
라이선스
MIT
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬