# Bright Data YouTube 데이터의 대안

FlashData YouTube 요청을 Bright Data 스크레이퍼 기록과 비교하세요: 급여, 월 수당, 작업 제한 및 스냅샷에서 저장된 작업으로의 Python/Bash 마이그레이션.

소스 요청에 대한 비디오 조사를 구축하세요. 전체 작업을 비교한 다음 스냅샷 워크플로를 저장된 재개 가능한 작업으로 이동합니다.

YouTube 비교입니다. [Bright Data Google의 대안 검색](https://flashdata.dev/ko/compare/brightdata/reference.md)는 별도의 페이지입니다.

Bright Data 실제로 검토 2026-11-10. FlashData 비율과 허용은 현재 공공 카탈로그를 사용합니다.

- [특징](#features)
- [가격](#pricing)
- [할당량 및 한도](#limits)
- [작업 마이그레이션](#migration)
- [상담원 워크플로](#agents)
- [FAQ](#faq)

<a id="features"></a>
## 기능별 비교

### 집중적인 비디오 조회를 위한 유료 비용 절감

| 특징 | FlashData | Bright Data YouTube |
| --- | --- | --- |
| 유료 메타데이터 조회 · 1,000 동영상 | $0.50 — 1,000 소스 요청 · PAYG | $1.50 — 1,000 전달 영상 기록 · PAYG |
| 메타데이터 + 기존 캡션 · 1,000 동영상 | $1.00 — 2,000 소스 요청 · PAYG | $1.50 — 1,000 캡션 필드 포함 시 동영상 녹화 |
| 입학 월간 플랜 | $49.00 — Micro/월; 포함되는 공유 사용 균형 | $499 — Scale/월 · 포함되는 384,000 기록 |
| 월간 구독 없이 종량제 결제 | 예 | 예 |

### 비디오를 찾고 연구 라이브러리를 구축하세요

| 특징 | FlashData | Bright Data YouTube |
| --- | --- | --- |
| 키워드로 동영상을 찾아보세요 | 예 — 날짜, 기간, 유형 및 정렬 필터로 검색 | 예 — 키워드 및 검색 필터 검색 모드 |
| 알려진 동영상의 메타데이터 | 예 — 제목, 채널, 기간, 미리보기 이미지, 참여 횟수 | 예 — 신원, 채널, 참여 필드가 포함된 비디오 기록 |
| 탐색용 챕터 마커 | 예 — include_chapters; 챕터 시간(초) | 예 — 챕터 제목, 미리보기 및 시작 시간(밀리초) |
| 사용 가능한 캡션 언어를 찾아보세요 | 메타데이터의 언어 목록 | 비디오 녹화의 트랙 목록 — 언어 및 자동 자막 정보가 포함됩니다. |

### 캡션을 증거로 사용할 수 있도록 설정

| 특징 | FlashData | Bright Data YouTube |
| --- | --- | --- |
| 메타데이터를 새로 고치지 않고 캡션을 요청합니다. | 전용 자막 텍스트 소스 — 동영상당 하나의 표준 요청 | 비디오 녹화의 캡션 필드 — YouTube 동영상 스크레이퍼 |
| 여러 자막 언어 요청 | 최대 10 노골적인 언어 — 트랙 및 언어별 오류 | 선택한 언어 1개 — 영상기록 수집 시 언어를 선택하세요. |
| 업로더 또는 자동 자막 원본 선택 | 예 — params.auto 교차 출처 대체 없이 하나의 출처를 선택합니다. | 트랙 메타데이터에 표시된 원본 — 검토된 비디오 스크레이퍼에 대한 원본 선택 입력이 나열되지 않았습니다. |
| 전체 텍스트 및 타임스탬프가 표시된 인용 | 전체 텍스트 + 시간별 세그먼트 — 초에 Start/end 시간 | 전체 텍스트 + 시간별 세그먼트 — 세그먼트 시작, 종료 및 기간(밀리초) |

### 애플리케이션 또는 에이전트에서 수집 실행

| 특징 | FlashData | Bright Data YouTube |
| --- | --- | --- |
| 대화형 및 배경 수집 | 실시간 또는 async — 모드를 선택하세요. 백그라운드 작업을 위해 작업 ID을 저장하세요. | 동기화 스크랩 또는 async 트리거 — 1분을 초과하는 동기화 작업은 스냅샷으로 계속됩니다. |
| 준비된 대규모 목록 처리 | Bulk Jobs 동영상-ID 파일 포함 — 콘솔 또는 API; 진행, 매니페스트 및 결과 부분 | 비동기 입력 배치 — 컬렉션을 트리거하고 해당 스냅샷을 검색하거나 전달합니다. |
| 응용 프로그램 및 LLM에 대한 출력 | JSON, 일반 텍스트 또는 Markdown | 스냅샷 내보내기 형식 — JSON, NDJSON 및 CSV |
| 추후 분석을 위해 completed 결과 보존 | 결과 저장 또는 대량 저장소 사용 — 원시 데이터와 매니페스트를 자체 스토리지에 보관하세요. | 스냅샷 및 스토리지 제공 — 30일 동안 스냅샷 보관 |
| 독립형 터미널 클라이언트 | 네이티브 CLI — Linux, macOS 및 Windows; Node/Python 런타임 없음 | Node.js CLI — npm 설치 bdata 명령 |
| MCP, 스킬 및 SDK 액세스 | 예 | 예 |

유료요금에는 무료수당이 제외됩니다. 둘 다 async 작업, 대량 수집 및 에이전트 도구를 제공합니다. 필요한 경우 댓글 수집, 기타 소셜 플랫폼, 관리형 데이터세트 및 기존 스토리지 제공 통합을 유지하세요.

### 작업에 필요한 필드에 대한 비용 지불

관심 목록에 대한 메타데이터를 가져옵니다. 분석할 동영상에 대해서만 캡션을 요청하세요. 메타데이터 새로 고침 시 기록 단계를 반복할 필요가 없습니다.

### 캡션 트랙을 명시적으로 선택하세요.

언어를 요청하고 업로더 제공 또는 YouTube 생성 캡션을 선택하세요. 연구 입력을 자동으로 변경하는 대신 언어 오류를 눈에 띄게 유지하세요.

### 에이전트 세션 전체에서 작업 유지

폴링하기 전에 승인된 작업 ID을 저장하세요. 이후 프로세스에서는 동일한 작업을 재개하고 다른 쿼리를 제출하지 않고 다운로드한 결과를 재사용합니다.

<a id="pricing"></a>
## 전체 비디오 작업 비교

Bright Data의 동영상 녹화에는 메타데이터와 캡션이 포함될 수 있습니다. FlashData는 하나의 메타데이터 요청과 별도의 캡션 요청을 사용합니다. 하나의 검색 입력으로 인해 청구 가능한 여러 레코드가 반환될 수 있습니다. 이 계산기는 알려진 비디오 조회에만 적용됩니다.

| Bright Data YouTube 제안 | 월 요금 | 포함된 기록 | 유료요금 / 1,000 기록 |
| --- | --- | --- | --- |
| 적격 무료 풀 | $0 | 적격 제품 전체에서 최대 5,000/월 공유 | 허용량 이내 |
| 사용량 기반 결제 | $0.00 | 유료 플랜 수당 없음 | $1.50 |
| Scale · $499/month | $499.00 | 384,000 | $1.30 additional |
| 기업 | 맞춤 | 맞춤 | 맞춤 |

Scale에는 $499/월에 대한 384,000 레코드가 포함됩니다. 추가 기록 비용은 1,000당 $1.30입니다. Custom Enterprise 및 판촉 보증금 매칭은 모델링되지 않습니다.

| FlashData 계획 | 1,000 요청당 | 월 요금 | 월 포함 요청 수 |
| --- | --- | --- | --- |
| 사용량 기반 결제 | $0.50 | $0.00 | 0 |
| Micro | $0.40 | $49.00 | 125,000 |
| Starter | $0.35 | $199.00 | 571,428 |
| Pro | $0.30 | $499.00 | 1,666,666 |
| Scale | $0.25 | $999.00 | 4,000,000 |
| Business | $0.20 | $1,999.00 | 10,000,000 |

포함 요청 수는 전체 공유 계획 잔액을 표준 YouTube 데이터에 할당합니다. 확장 검색과 다운로드에는 별도의 요금이 적용됩니다. [전체 가격](https://flashdata.dev/ko/pricing/youtube-data).

### 10,000 동영상: 양쪽 모두 종량제 결제

| 작업 | FlashData 요청 | FlashData 모형 청구서 | Bright Data 무료 기록 적용 | Bright Data 모형 청구서 |
| --- | --- | --- | --- | --- |
| 비디오 메타데이터 | 10,000 | $5.00 | 0 | $15.00 |
| 비디오 메타데이터 | 10,000 | $5.00 | 5,000 | $7.50 |
| 메타데이터 + 기존 캡션 | 20,000 | $10.00 | 0 | $15.00 |
| 메타데이터 + 기존 캡션 | 20,000 | $10.00 | 5,000 | $7.50 |

USD 한 달 간의 성공적인 동영상 조회를 위한 것입니다. 반환된 Bright Data 동영상 기록에는 메타데이터와 기존 캡션이 포함될 수 있습니다. 결합된 FlashData 작업은 두 개의 소스 요청을 사용합니다. 검색, 댓글, AI 전사, 확장 검색 및 미디어 다운로드는 제외됩니다. 이 기록에 사용할 수 있는 Bright Data 무료 크레딧만 입력하세요. 5,000 크레딧 풀은 공유되며 반복 무료 크레딧은 Scale와 누적되지 않습니다. FlashData 가격은 현재 공개 카탈로그를 기준으로 합니다. 추가 사용 전에 선택한 전체 계획 잔액이 여기에 할당됩니다. FlashData 시작 잔액 및 가입/agent 체험판은 제외됩니다. 모델링된 청구서는 새 지갑 구매가 아닌 사용량과 월별 요금을 측정합니다. FlashData 충전은 $10에서 시작됩니다. 세금, 보증금 일치 프로모션, 맞춤형 요금 또는 연간 할인은 포함되지 않습니다.

### 제안 시작

FlashData signups는 4,000 표준 YouTube 자료 요구에 최대의 초기 허용을 받을 수 있습니다. 이는 월간 반복 할당량이 아닌 초기 잔액입니다.

적격 Bright Data 계정은 Scraper API를 포함하여 적격 제품 전반에 걸쳐 공유되는 매월 5,000 무료 크레딧을 받습니다. 전달된 YouTube 레코드 1개는 1크레딧을 소모합니다. 사용하지 않은 무료 크레딧은 이월되지 않습니다. 사전 커밋 계정에는 반복적으로 무료 크레딧이 제공되지 않습니다. Scale와 함께 월간 무료 풀을 쌓지 마십시오.

<a id="limits"></a>
## 수당, batch 규모 및 running 일자리

| 우려 | FlashData | Bright Data 스크레이퍼 API |
| --- | --- | --- |
| 수당은 무엇이 소모되나요? | 각 소스 쿼리 메타데이터와 캡션은 별개입니다. | 성공적으로 기록을 전달했습니다. 하나의 검색 입력이 여러 개를 반환할 수 있음 |
| 하나의 대화형 요청 | POST /v1/queries/realtime; 백그라운드 작업을 위해 async를 선택하세요 | POST /datasets/v3/scrape; 1분 후에 HTTP 202가 스냅샷 ID을 반환하고 작업이 계속됩니다. |
| 더 큰 입력 | 배치 크기는 계획에 따라 다릅니다. IDs 파일에 대한 대량 처리 사용 | 비동기 /trigger는 최대 1GB의 입력을 허용합니다. 최소 입력 수는 스크레이퍼에 따라 다릅니다. |
| 작업 실행 | 계정 동시 실행은 선택한 계획에 따라 다릅니다(아래 참조). | 5,000 활성 일자리/snapshots; 한도 초과 반품 429 |
| 백오프 | 명예 Retry-After; 임시 에이전트 평가판은 초당 하나의 요청을 허용합니다. | 명예 Retry-After; 25 HTTP 429 5분 안에 IP당 응답이 1시간 API 차단을 유발할 수 있습니다. |
| 저장된 결과 | JSON을 다운로드하여 나만의 작업 저장소에 보관하세요 | 스냅샷은 30일 동안 보관됩니다. 다운로드 요청은 최대 5GB까지 지원하며 더 큰 결과를 위해 부분 기반 검색을 제공합니다. |

| FlashData 계획 | 동시 쿼리 | 일괄 요청당 쿼리 |
| --- | --- | --- |
| 사용량 기반 결제 | 25 | 100 |
| Micro | 50 | 100 |
| Starter | 100 | 200 |
| Pro | 200 | 300 |
| Scale | 300 | 400 |
| Business | 400 | 500 |

동시성은 초당 요청이 아닙니다. 각 쿼리에는 크레딧이 계속 적용됩니다. [실시간 및 async](https://flashdata.dev/ko/docs/reference/realtime-and-async/reference.md) · [일괄 및 대량](https://flashdata.dev/ko/docs/reference/batch-and-bulk/reference.md) · [대량 처리 참조](https://flashdata.dev/ko/docs/reference/bulk-processing/reference.md).

<a id="migration"></a>
## 스냅샷에서 저장된 작업으로

### 1. 액세스 준비 및 요청 매핑

youtube_metadata 권한으로 키를 생성하거나 재사용하세요. [API 열쇠](https://flashdata.dev/app/api-keys) · [사용 가능한 크레딧](https://flashdata.dev/app/billing). FLASHDATA_API_KEY를 비밀 저장소에 저장하거나 스크립트의 숨겨진 프롬프트에 입력하세요.

마이그레이션 참조를 위한 기존 Bright Data 제출:

```bash
# Existing Bright Data job submission, for migration reference.
curl --fail-with-body --silent --show-error --max-time 120 \
  --request POST \
  'https://api.brightdata.com/datasets/v3/trigger?dataset_id=gd_lk56epmy2i5g7lzu0k&format=json' \
  --header "Authorization: Bearer $BRIGHTDATA_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"input":[{"url":"https://www.youtube.com/watch?v=FUfGcZ092b0"}]}'
```

FlashData POST https://data.flashdata.dev/v1/queries 및 X-API-Key:

```json
{
  "source": "youtube_metadata",
  "video_id": "FUfGcZ092b0",
  "params": {
    "include_formats": false,
    "include_chapters": true
  }
}
```

### 2. running 이전에 스크립트를 저장하세요.

Python 3.10+가 필요합니다. python -m pip install requests로 의존성을 설치하세요. 새 작업 폴더에서 아래 전체 스크립트를 migrate-video.py로 저장한 후 실행하세요.

```python
# Save as migrate-video.py in your working folder.
import argparse
import getpass
import json
import os
import re
import time
from pathlib import Path
from urllib.parse import urlsplit

import requests

parser = argparse.ArgumentParser()
parser.add_argument("video_id")
parser.add_argument("folder", help="A new folder name, such as video-001")
args = parser.parse_args()
if not re.fullmatch(r"[A-Za-z0-9_-]{11}", args.video_id):
    raise SystemExit("Use an 11-character YouTube video ID")
if not re.fullmatch(r"[A-Za-z0-9_-]+", args.folder):
    raise SystemExit("Use a simple output folder name")
os.umask(0o077)
out = Path(args.folder)
body = {"source": "youtube_metadata", "video_id": args.video_id,
        "params": {"include_formats": False, "include_chapters": True}}
key = None

def read(name):
    return json.loads((out / name).read_text(encoding="utf-8"))

def call(method, url, name, payload=None, authenticated=True):
    global key
    headers = {"Accept": "application/json"}
    if authenticated:
        if key is None:
            key = os.environ.get("FLASHDATA_API_KEY") or getpass.getpass("FlashData API key: ")
        if not key.strip():
            raise SystemExit("An API key is required")
        headers["X-API-Key"] = key
    try:
        response = requests.request(method, url, json=payload, headers=headers,
                                    timeout=(10, 120), allow_redirects=False)
    except requests.RequestException:
        raise SystemExit("Network outcome unknown. Keep this folder and check History; do not resubmit.")
    (out / name).write_bytes(response.content)
    (out / (name + ".http")).write_text(str(response.status_code))
    (out / "retry-after.txt").write_text(response.headers.get("Retry-After", ""))
    return response

if not out.exists():
    out.mkdir()
    (out / "request.json").write_text(json.dumps(body), encoding="utf-8")
    submitted = call("POST", "https://data.flashdata.dev/v1/queries", "submission.json", body)
    if submitted.status_code not in (200, 201, 202):
        raise SystemExit(f"HTTP {submitted.status_code}. Inspect submission.json and retry-after.txt.")
else:
    try:
        if read("request.json") != body:
            raise SystemExit("This folder belongs to another request. Use a new folder.")
    except (OSError, ValueError):
        raise SystemExit("Incomplete attempt. Check the folder and History before resubmitting.")
try:
    receipt = read("submission.json")
    job_id = receipt["id"]
    status = (out / "submission.json.http").read_text().strip()
    if status not in ("200", "201", "202") or receipt["source"] != body["source"] or not re.fullmatch(r"[A-Za-z0-9_-]+", job_id):
        raise ValueError()
except (OSError, ValueError, KeyError, TypeError):
    raise SystemExit("No valid saved receipt. Check History; this script will not submit again.")

if not (out / "result.json").exists():
    url = "https://api.flashdata.dev/v2/jobs/" + job_id
    for attempt in range(12):
        response = call("GET", url, "job.json")
        if response.status_code != 200:
            raise SystemExit(f"HTTP {response.status_code}. Resolve the error; then resume this folder.")
        job = response.json()["job"]
        if job["id"] != job_id or job["source"] != body["source"]:
            raise SystemExit("Job does not match the saved receipt")
        if job["status"] == "completed":
            break
        if job["status"] not in ("pending", "processing"):
            raise SystemExit("Job " + job["status"] + ". Inspect job.json; do not resubmit.")
        delay = response.headers.get("Retry-After", "5")
        if attempt == 11 or not delay.isdigit() or int(delay) > 60:
            raise SystemExit("Still running. Wait for Retry-After, then run the same command to resume.")
        time.sleep(max(1, int(delay)))
    result = call("GET", url + "/results", "result.pending.json")
    if result.status_code == 302:
        location = result.headers.get("Location", "")
        parsed = urlsplit(location)
        if parsed.scheme != "https" or not parsed.hostname or parsed.username or parsed.password:
            raise SystemExit("Expected an HTTPS storage URL")
        # Separate request: the API key is never sent to storage.
        result = call("GET", location, "result.pending.json", authenticated=False)
    if result.status_code != 200:
        raise SystemExit(f"HTTP {result.status_code}. Resolve the error, then resume this folder.")
    data = result.json()
else:
    print("Reading saved result; no API call.")
    data = read("result.json")
if not isinstance(data, dict) or data.get("source") != body["source"] or data.get("status") != "done":
    raise SystemExit("Result did not complete successfully")
items = data.get("results")
if not isinstance(items, list) or len(items) != 1 or not isinstance(items[0], dict) or items[0].get("videoId") != args.video_id:
    raise SystemExit("Expected the requested video in results")
item = items[0]
mapped = [{"video_id": item["videoId"], "url": "https://www.youtube.com/watch?v=" + item["videoId"],
           "title": item.get("title"), "description": item.get("description"),
           "views": item.get("viewCount"), "likes": item.get("likeCount"),
           "num_comments": item.get("commentCount"), "video_length": item.get("duration"),
           "channelName": item.get("channel"), "channelId": item.get("channelId"),
           "uploadDateRaw": item.get("uploadDate"), "captionLanguages": item.get("transcriptLanguages")}]
if not (out / "result.json").exists():
    (out / "result.pending.json").replace(out / "result.json")
(out / "video-records.json").write_text(json.dumps(mapped, ensure_ascii=False, indent=2), encoding="utf-8")
print(f"Saved {out}/video-records.json; actual usage: {json.dumps(data.get('usage'))}")

```

동일한 폴더에서 실행:

```bash
python migrate-video.py FUfGcZ092b0 video-001
```

또는 Bash, cURL 7.76+ 및 jq 1.6+를 사용하세요. 아래의 전체 스크립트를 새 작업 폴더에 migrate-video.sh로 저장하세요.

```bash
#!/usr/bin/env bash
# Save as migrate-video.sh in your working folder.
set -euo pipefail
umask 077
video_id="${1:?Use: VIDEO_ID OUTPUT_FOLDER}"
out="${2:?Use a folder name such as video-001}"
[[ "$video_id" =~ ^[A-Za-z0-9_-]{11}$ && "$out" =~ ^[A-Za-z0-9_-]+$ ]] || exit 2
body=$(jq -n --arg id "$video_id" '{source:"youtube_metadata", video_id:$id,
  params:{include_formats:false, include_chapters:true}}')
call() {
  local method="$1" url="$2" name="$3" authenticated="$4" payload="${5:-}"
  local -a options=(--silent --show-error --compressed --proto '=https'
    --connect-timeout 10 --max-time 120 --request "$method"
    --header 'Accept: application/json' --output "$out/$name"
    --dump-header "$out/$name.headers" --write-out '%{http_code}')
  if [[ "$authenticated" == yes ]]; then
    if [[ -z "${FLASHDATA_API_KEY:-}" ]]; then
      read -r -s -p 'FlashData API key: ' FLASHDATA_API_KEY; printf '\n'
    fi
    : "${FLASHDATA_API_KEY:?An API key is required}"
    options+=(--header "X-API-Key: $FLASHDATA_API_KEY")
  fi
  if [[ -n "$payload" ]]; then options+=(--header 'Content-Type: application/json' --data-binary "$payload"); fi
  curl "${options[@]}" "$url" > "$out/$name.http" || {
    echo 'Network outcome unknown. Keep this folder and check History; do not resubmit.' >&2; exit 1;
  }
  status=$(cat "$out/$name.http")
}
if [[ ! -e "$out" ]]; then
  mkdir -- "$out"
  printf '%s\n' "$body" > "$out/request.json"
  call POST 'https://data.flashdata.dev/v1/queries' submission.json yes "@$out/request.json"
  [[ "$status" =~ ^20[012]$ ]] || { echo "HTTP $status. Inspect submission.json and its headers." >&2; exit 1; }
else
  jq -e --argjson expected "$body" '. == $expected' "$out/request.json" >/dev/null || {
    echo 'Incomplete or different request. Check this folder and History.' >&2; exit 1;
  }
fi
[[ "$(cat "$out/submission.json.http")" =~ ^20[012]$ ]] || exit 1
id=$(jq -er 'select(.source == "youtube_metadata") | .id | select(type == "string" and test("^[A-Za-z0-9_-]+$"))' "$out/submission.json")
if [[ ! -f "$out/result.json" ]]; then
  url="https://api.flashdata.dev/v2/jobs/$id"
  for attempt in {1..12}; do
    call GET "$url" job.json yes
    [[ "$status" == 200 ]] || { echo "HTTP $status. Inspect job.json and its headers; resume after resolving." >&2; exit 1; }
    state=$(jq -er --arg id "$id" 'select(.job.id == $id and .job.source == "youtube_metadata") | .job.status' "$out/job.json")
    [[ "$state" == completed ]] && break
    [[ "$state" == pending || "$state" == processing ]] || { echo "Job $state. Do not resubmit." >&2; exit 1; }
    delay=$(awk 'tolower($1)=="retry-after:" {sub(/\r$/, "", $2); print $2}' "$out/job.json.headers")
    delay="${delay:-5}"
    [[ "$attempt" -lt 12 && "$delay" =~ ^[0-9]+$ && "$delay" -le 60 ]] || {
      echo 'Still running. Wait for Retry-After, then run the same command to resume.' >&2; exit 1;
    }
    [[ "$delay" -gt 0 ]] || delay=1
    sleep "$delay"
  done
  call GET "$url/results" result.pending.json yes
  if [[ "$status" == 302 ]]; then
    location=$(awk 'tolower($1)=="location:" {sub(/\r$/, "", $2); print $2}' "$out/result.pending.json.headers")
    [[ "$location" =~ ^https://[^/@[:space:]]+(/|$) ]] || { echo 'Expected HTTPS storage URL.' >&2; exit 1; }
    # Separate request, without the API key. Do not add -L to an authenticated request.
    call GET "$location" result.pending.json no
  fi
  [[ "$status" == 200 ]] || { echo "HTTP $status. Resolve it, then resume this folder." >&2; exit 1; }
  result="$out/result.pending.json"
else
  echo 'Reading saved result; no API call.'
  result="$out/result.json"
fi
mapped=$(jq -e --arg id "$video_id" '
  if .source != "youtube_metadata" or .status != "done" then error("Result not done") else . end
  | .results | if type != "array" then error("Expected results")
    elif length != 1 then error("Expected one result") else .[0] end
  | if .videoId != $id then error("Wrong video") else . end
  | [{video_id:.videoId, url:("https://www.youtube.com/watch?v=" + .videoId), title, description,
      views:.viewCount, likes:.likeCount, num_comments:.commentCount, video_length:.duration,
      channelName:.channel, channelId, uploadDateRaw:.uploadDate, captionLanguages:.transcriptLanguages}]' "$result")
[[ "$result" == "$out/result.json" ]] || mv -- "$result" "$out/result.json"
printf '%s\n' "$mapped" > "$out/video-records.json"
printf 'Saved %s/video-records.json; actual usage: ' "$out"
jq -c '.usage' "$out/result.json"

```

동일한 폴더에서 실행:

```bash
bash migrate-video.sh FUfGcZ092b0 video-001
```

여전히 running인 경우 동일한 명령을 반복하여 저장된 작업을 재개합니다. 완료된 실행은 API 호출 없이 result.json 재사용됩니다. 새 폴더가 새 요청을 제출합니다. 불확실한 제출을 다시 시도하기 전에 기록을 확인하세요. 채팅에 키를 보관하고 서명된 저장소로 전달하지 마세요 URLs.

### 3. 매핑된 레코드 읽기

video-001/video-records.json는 일반적인 영상 분야 이름을 보존합니다; result.json에는 원료 자료와 사용법을 유지합니다. 미스 미터는 null 남아있다. channelName는 디스플레이 이름, 핸들이 아닌; uploadDateRaw은 정상화 된 날짜가 아닙니다. Transcript 및 미디어 필드는 제작되지 않습니다.

```json
[
  {
    "video_id": "FUfGcZ092b0",
    "url": "https://www.youtube.com/watch?v=FUfGcZ092b0",
    "title": "Example video",
    "description": "Example description",
    "views": 1200,
    "likes": null,
    "num_comments": null,
    "video_length": 197,
    "channelName": "Example channel",
    "channelId": "UC_EXAMPLE",
    "uploadDateRaw": "2025-01-15",
    "captionLanguages": [
      "en",
      "es"
    ]
  }
]
```

| 우려 | 기존 통합 | FlashData 변경 |
| --- | --- | --- |
| 스크레이퍼 선택 | dataset_id=gd_lk56epmy2i5g7lzu0k | 출처=youtube_metadata; 캡션은 youtube_transcript를 별도로 사용합니다. |
| 입력 | 입력 배열의 시계 URL | 11 문자 video_id |
| 인증 | 권한: 무기명 | X-API-Key 요청된 소스 권한이 있는 경우 |
| 제출 | POST /datasets/v3/trigger → snapshot_id | POST /v1/queries → 아이디; 영수증을 저장해 두세요 |
| 트랙 | 스냅샷 진행 → ready | GET /v2/jobs/{id} → job.status=completed |
| 검색 | 스냅샷을 JSON, NDJSON 또는 CSV로 다운로드하세요. | GET /v2/jobs/{id}/results → 서명된 저장소 URL; API 키 없이 가져오기 |
| 비디오 분야 | video_id, title, description, views, likes, num_comments, video_length | videoId, 제목, 설명, viewCount, likeCount, commentCount, 지속 시간(초) |
| 채널 및 날짜 | YouTube 사용자는 손잡이입니다. date_posted는 날짜입니다 | channelName, channelId 및 uploadDateRaw를 유지하세요. 표시 이름을 핸들로 바꾸지 마십시오. |
| 성적 증명서 | 대본으로 포함될 수 있으며 영상기록에는 formatted_transcript가 포함될 수 있습니다. | 별도의 트랙 요청; fullText 및 세그먼트는 초를 사용합니다. 기존 파서가 밀리초를 예상하는 경우 타임스탬프 매핑 |
| 다이렉트 미디어 URL | video_url는 스트리밍 URL입니다. | 스토리지로 전달하려면 별도의 YouTube 다운로드 워크플로를 사용하세요. |

### 선택적 캡션

youtube_transcript 권한을 부여하세요. 이 본문을 X-API-Key와 함께 POST https://data.flashdata.dev/v1/queries에 제출하고 자체 작업 ID을 저장합니다. 이렇게 하면 동영상당 하나의 표준 요청이 추가됩니다.

```json
{
  "source": "youtube_transcript",
  "video_id": "FUfGcZ092b0",
  "params": {
    "language": "en",
    "auto": true
  }
}
```

auto=false는 업로더가 제공한 캡션을 선택합니다. 언어와 원산지를 보존합니다. Bright Data 형식의 기록 시간은 밀리초를 사용합니다. FlashData 세그먼트는 초를 사용합니다. 밀리초를 예상하는 파서의 경우 1,000를 곱합니다. [실행 가능한 타임스탬프 캡션 레시피](https://flashdata.dev/ko/docs/guides/timestamped-captions-recipe/reference.md).

### 회복

- Pending/processing:는 저장한 ID를 재개합니다. 오염은 경계와 명예 숫자 Retry-After.
- 401/403: 인증 또는 허가를 해결; 재발행에 중지.
- 402: 계속하기 전에 사용 가능한 소유자 잔액을 복원하세요.
- 429: 전송을 중지하고 Retry-After을 존중합니다. 자동으로 제출을 재시도하지 마세요.
- 영수증 없는 시간 초과: 다른 폴더를 만들기 전에 기록을 검사하세요.

[오류 및 상태 코드](https://flashdata.dev/ko/docs/errors/reference.md).

<a id="agents"></a>
## 하나의 연결, 재사용 가능한 작업

1 크레딧(최대 100 표준 YouTube 데이터 요청)을 72 시간에 사용할 수 있습니다. 재사용은 먼저 액세스; 메타데이터 및 캡션은 허용량을 공유합니다.

1. 강화하기 전에 비디오와 최종 후보 목록을 찾아보세요.
2. 하나의 비디오를 가져오고, 필드와 캡션 선택을 확인하고, 원시 출력을 저장합니다.
3. 소유자가 가입/sign-in을 완료하고 범위 및 공유 잔액을 승인하도록 하세요. 사용하지 않은 임시 크레딧은 양도되지 않습니다.
4. 반복되는 작업 전반에 걸쳐 자격 증명을 유지하고 폴더를 실행합니다. 결과를 재사용하고 취소 또는 잔액 소진 시 중지합니다.

```text
Migrate one Bright Data YouTube video lookup to FlashData.
Read https://flashdata.dev/auth.md and reuse saved access first.
Inspect the current video-record parser and list its required fields.
Fetch metadata for one known video. Request captions separately only if needed.
Keep channel handles, dates, caption origin and timestamp units explicit.
Save the submission receipt, job ID, raw JSON and normalized output.
Resume accepted work; do not submit again after a timeout or agent restart.
Verify the output before scheduling. Have the owner claim access and approve
the required permissions and shared balance for continued use.
Keep keys in the host's secret store. Stop on revoked access or insufficient balance.
```

[체험 및 청구](https://flashdata.dev/ko/docs/guides/agent-onboarding/reference.md) · [반복되는 작업](https://flashdata.dev/ko/docs/guides/recurring-tasks/reference.md) · [결과 저장](https://flashdata.dev/ko/docs/guides/save-results/reference.md).

<a id="faq"></a>
## 마이그레이션 질문

### 이게 Bright Data Google 검색 비교인가요?

이 페이지에서는 YouTube 스크레이퍼 API에 대해 다룹니다. Google 검색에서는 가격 단위와 요청 구성이 다른 Bright Data의 SERP 제품을 사용합니다. Google 검색 비교에는 자체 페이지가 있습니다.

### Bright Data는 메타데이터와 자막 텍스트에 대해 두 번 청구됩니까?

YouTube 비디오 스키마에는 반환된 비디오 레코드의 메타데이터 및 캡션 필드가 포함되어 있습니다. 두 개의 레코드를 자동으로 계산하지 않습니다. FlashData 별도의 메타데이터 및 스크립트 쿼리를 사용합니다. 계산기의 결합된 작업량은 동영상당 2개의 FlashData 요청으로 계산됩니다. 특정 동영상에는 캡션 필드를 사용하지 못할 수도 있습니다.

### 어느 제공업체가 더 큰 무료 허용량을 갖고 있나요?

Bright Data는 적격 계정에 5,000 공유 크레딧을 매달 제공합니다. FlashData의 적격 가입 수당은 초기 잔액이며 임시 대리인 시험은 별도입니다. 이러한 제안에는 서로 다른 갱신 규칙이 있습니다. 남은 자유 기록 입력을 사용하여 Bright Data PAYG를 정확하게 모델링합니다.

### Bright Data 스크레이퍼를 모두 교체할 수 있나요?

지원되는 YouTube 메타데이터, 검색, 채널 및 캡션 워크플로우를 필요한 대로 이동하세요. 애플리케이션이 여전히 의존하는 곳에 댓글 수집, 기타 소셜 플랫폼, 관리형 데이터 세트 및 기존 스토리지 제공 통합을 유지하세요.

### 두 제공업체 모두 AI 에이전트를 지원하나요?

그렇습니다. 둘 다 MCP, CLI 및 에이전트 기술을 제공합니다. FlashData의 독립형 CLI, 소스 권한 및 공유 Google/YouTube 균형은 집중적인 연구 작업 흐름에 유용합니다. 저장된 액세스를 재사용하고 반복 작업을 예약하기 전에 소유자에게 지속적인 계정 액세스를 승인하도록 요청하세요.

### 마이그레이션 후 스냅샷 ID을 재사용할 수 있나요?

아니요. Bright Data 스냅샷과 새 FlashData 작업 ID을 별도의 식별자로 저장하세요. 이 예에서는 저장된 FlashData 영수증만 재사용하고 반환된 동영상이 요청한 ID와 일치하는지 확인합니다.

[API 키 받기](https://flashdata.dev/signup) · [Google 검색 비교](https://flashdata.dev/ko/compare/brightdata/reference.md).
