Data Feeds

作者 brightdatae825f02fbcd7無授權條款264 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫昨天更新

Extract structured data from 40+ supported platforms (Amazon, LinkedIn, Instagram, TikTok, Facebook, YouTube, Reddit, and more) via the Bright Data CLI (`bdata pipelines`). Use when the user wants clean JSON from a known platform URL rather than raw HTML. Hands off to `scrape` for unsupported URLs and to `search` when target URLs must be discovered first. Requires the Bright Data CLI; proactively guides install + login if missing.

僅含說明Data & Analytics
AI 產生的概覽

使用 Bright Data CLI 的 pipelines 指令,從支援平台的網址擷取結構化 JSON 資料。

功能
此技能指示代理執行 Bright Data CLI(bdata pipelines),從 Amazon、LinkedIn、Instagram、TikTok、YouTube、Reddit 等 40 多個支援平台取得結構化紀錄。內容涵蓋環境檢查、選擇合適的 pipeline 類型、處理關鍵字或多參數 pipeline,以及結果驗證。產出為 JSON 或 NDJSON 檔案,並包含解析、紀錄數量與錯誤欄位的檢查步驟。對於不支援的網址會轉交 scrape,需要先尋找網址時轉交 search。
適用情境
當使用者希望從已知平台網址取得乾淨的結構化 JSON,而非原始 HTML 時使用。適用於平台受支援且網址已知的情境,包括跨多個網址的批次工作。不適用於不受支援的平台,或需要先尋找網址的情況。
執行需求
需要安裝並透過 bdata login 完成驗證的 Bright Data CLI(bdata),以及連線至 Bright Data 服務的網路存取。驗證範例使用 jq。此技能未附帶指令碼,僅為說明文件,並包含 flags、patterns 與 examples 參考檔案。

Bright Data — Data Feeds (Pipelines)

Extract structured data from supported platforms via bdata pipelines. One call, clean JSON, no scraping logic. For unsupported URLs, hand off to scrape. To find target URLs first, hand off to search.

Setup gate (run first)

bash
if ! command -v bdata >/dev/null 2>&1; then    echo "bdata CLI not installed — see bright-data-best-practices/references/cli-setup.md"elif ! bdata zones >/dev/null 2>&1; then    echo "bdata not authenticated — run: bdata login  (or: bdata login --device for SSH)"fi

Halt and route to skills/bright-data-best-practices/references/cli-setup.md if either check fails.

Supported pipeline types (verified 2026-04-19)

Always verify with bdata pipelines list before hardcoding names — they change. Current 43 types:

amazon_product, amazon_product_reviews, amazon_product_search, apple_app_store, bestbuy_products, booking_hotel_listings, crunchbase_company, ebay_product, etsy_products, facebook_company_reviews, facebook_events, facebook_marketplace_listings, facebook_posts, github_repository_file, google_maps_reviews, google_play_store, google_shopping, homedepot_products, instagram_comments, instagram_posts, instagram_profiles, instagram_reels, linkedin_company_profile, linkedin_job_listings, linkedin_people_search, linkedin_person_profile, linkedin_posts, reddit_posts, reuter_news, tiktok_comments, tiktok_posts, tiktok_profiles, tiktok_shop, walmart_product, walmart_seller, x_posts, yahoo_finance_business, youtube_comments, youtube_profiles, youtube_videos, zara_products, zillow_properties_listing, zoominfo_company_profile

Naming note: inconsistent across platforms. amazon_product (singular), tiktok_profiles (plural), linkedin_person_profile (not linkedin_profile). Always copy from bdata pipelines list.

Pick your path

SituationAction
Know the platform + have URL(s)bdata pipelines <type> <url>
Don't know which pipeline fitsbdata pipelines list first
Pipeline takes keyword or multi-arg inputSee "Keyword- and multi-arg pipelines" below
Multiple URLs on the same pipeline typeshell loop with parallelism cap (see references/patterns.md)
Long job (reviews, company employees, big post feeds)raise --timeout 1800
URL is on an unsupported platformstop — hand off to scrape
Need to find URLs firsthand off to search

Keyword- and multi-arg pipelines (do NOT take a single URL)

A few pipelines take non-URL or multi-positional inputs. Invoke with no args to see the exact usage line from the CLI:

PipelineArgs
amazon_product_search<keyword> <domain_url> — e.g., "running shoes" https://www.amazon.com
linkedin_people_search<url> <first_name> <last_name> — search a company/school/URL for a named person
facebook_company_reviews<url> [num_reviews] — optional num_reviews defaults to 10
google_maps_reviews<url> [days_limit] — optional days_limit defaults to 3
youtube_comments<url> [num_comments] — optional num_comments defaults to 10

All other 37 pipelines take a single URL.

Action

Core commands:

bash
# List available pipeline types (source of truth)bdata pipelines list
# Amazon productbdata pipelines amazon_product \    "https://www.amazon.com/dp/B08N5WRWNW" \    --format json --pretty -o product.json
# Amazon product reviews (slower — reviews can be hundreds)bdata pipelines amazon_product_reviews \    "https://www.amazon.com/dp/B08N5WRWNW" \    --timeout 1200 -o reviews.json
# Amazon product search (keyword + domain URL)bdata pipelines amazon_product_search \    "noise cancelling headphones" "https://www.amazon.com" \    --format json --pretty -o search.json
# LinkedIn person profilebdata pipelines linkedin_person_profile \    "https://www.linkedin.com/in/example" -o person.json
# LinkedIn companybdata pipelines linkedin_company_profile \    "https://www.linkedin.com/company/example" -o company.json
# LinkedIn people search (url + first + last name)bdata pipelines linkedin_people_search \    "https://www.linkedin.com/company/example" "Jane" "Doe" \    -o people.json
# Instagram postsbdata pipelines instagram_posts \    "https://www.instagram.com/example/" -o posts.json
# Google Maps reviews (url + days_limit, default 3)bdata pipelines google_maps_reviews \    "https://maps.google.com/?cid=1234567890" 90 -o reviews.json
# YouTube comments (url + num_comments, default 10)bdata pipelines youtube_comments \    "https://www.youtube.com/watch?v=abc123" 100 -o yt-comments.json
# NDJSON for big feeds (one record per line)bdata pipelines linkedin_posts "https://www.linkedin.com/in/example" \    --format ndjson -o posts.ndjson
# Raise polling timeout for long jobsbdata pipelines amazon_product_reviews "<url>" --timeout 1800 -o out.json

Full flag reference + full type table: references/flags.md [blocked].

Verification gate

  1. JSON parses cleanly: jq . <output> returns 0 (or for --format ndjson, each line parses).

  2. Record count matches expected. One URL usually = one record, but reviews/posts/comments pipelines return arrays sized by what the platform shows. Always check:

    bash
    jq 'length' out.json                       # top-level array count# ORjq 'if type == "array" then length else 1 end' out.json
  3. No top-level error:

    bash
    jq -e 'if type == "object" then has("error") | not else true end' out.json \    || { echo "pipeline reported error"; exit 1; }
  4. No per-record error: for array results, ensure no record has an error field:

    bash
    jq -e 'if type == "array" then map(has("error")) | any | not else true end' out.json \    || echo "WARN: one or more records have error fields"

    Partial failures are silent — this check is non-optional.

  5. Core fields present for the pipeline type (examples):

    • amazon_product → .title + .price (or .final_price)
    • linkedin_person_profile → .name + .headline (or .position)
    • instagram_posts → .caption or .description + .url or .post_id
    • youtube_videos → .title + .video_id or .url

    Spot-check with jq keys on the first record to learn the exact schema.

  6. On failure: double --timeout and retry once. If still failing, bdata pipelines list to confirm the type name hasn't changed.

Red flags

  • Using bdata scrape on Amazon/LinkedIn/TikTok/etc. when bdata pipelines <type> returns structured fields in one call. Loses structure and costs more time.
  • Looping bdata pipelines for large jobs without rate-limiting — each call can trigger a long-running pipeline on the server. Cap parallelism at 2–3.
  • Claiming success without the record-count + per-record error check. Partial failures are silent in pipeline output.
  • Hardcoding pipeline type names (amazon_products with an s, linkedin_profile without _person_, etc.) — they're inconsistent across platforms. Always copy from bdata pipelines list.
  • Using a tight --timeout on pipelines that legitimately take 5–15 minutes (reviews, company employees, big post feeds). Default 600s is a floor for small inputs; raise for long ones.
  • Calling a keyword- or multi-arg pipeline (amazon_product_search, linkedin_people_search, google_maps_reviews, facebook_company_reviews, youtube_comments) with URL-only args — will fail with "Usage: ...". Always check bdata pipelines <type> error output when in doubt.
  • Passing a pages_to_search third arg to amazon_product_search — it's hardcoded to 1 by the CLI and extra args are ignored.

References

  • references/flags.md [blocked] — full pipelines flags + complete table of all 43 types with input shapes.
  • references/patterns.md [blocked] — sync timeout tuning, shell-loop batching with parallelism cap, partial-failure detection, keyword-shaped pipeline cheatsheet, legacy curl fallback, shared verification checklist.
  • references/examples.md [blocked] — (1) single Amazon product, (2) batch LinkedIn companies, (3) long reviews job with raised timeout, (4) mixed-platform workflow calling pipelines list first, (5) keyword-shaped amazon_product_search.

來源與署名

來源:brightdata/skills位於skills/data-feeds提交e825f02

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架