[ { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)", "views": 1812511291, "likes": 19374379, "date_posted": "2009-10-25T06:57:33.000Z", "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick...", "num_comments": 2457228, "youtuber": "@RickAstleyYT", "youtuber_md5": "4fc65cd6213b5c0f1d04c2aa3006f46a", "video_url": "https://rr2---sn-n4v7snse.googlevideo.com/videoplayback?expire=1788712345&ei=OUGdaoSULZ-RsfIP8OmfsAo&ip=208.41.164.3&id=o-ALklNMQDHiVh32KdRiuWf9qyPo-8mNxywN-..." }]
YouTube 视频抓取器(gd_lk56epmy2i5g7lzu0k,collect_by_url)返回 58 个输出字段。字段说明保留 API 返回的英文原文。
输出字段(58)
字段
类型
说明
url
url
The full YouTube watch URL of the collected video
title
text
Title of the YouTube video
youtuber
text
The channel handle extracted from the channel’s browse endpoint
youtuber_md5
text
MD5 hash of the youtuber field
video_url
url
Direct streaming URL of the video file, extracted from YouTube’s adaptive formats or decoded from signatureCipher
video_length
number
Duration of the video in seconds
likes
number
Number of likes received by the video
views
number
Number of views the video has received
date_posted
date
Date when the video was published
description
text
Text description accompanying the video
num_comments
number
Number of comments on the video, as displayed by YouTube (includes both top-level comments and replies in YouTube’s count)
subscribers
number
Number of subscribers to the YouTube channel
music
object
Information about the music used in the video. Only present when YouTube’s Content ID system has identified music in the video
video_id
text
Unique identifier for the YouTube video
channel_url
url
URL-encoded URL of the YouTube channel, derived from the channel’s canonical browse endpoint
preview_image
image
URL of the preview image for the video
shortcode
text
The unique short identifier of the video, identical to video_id, used across all YouTube video types including regular videos and Shorts
verified
boolean
Indicates whether the channel is verified
handle_name
text
The display name of the YouTube channel as shown on the video page
avatar_img_channel
url
The URL of the avatar image of the YouTube channel
is_sponsored
boolean
Indicates whether the video contains a paid content overlay as declared by YouTube
related_videos
array
List of URLs of videos shown in the sidebar alongside the current video
license
url
URL of the video’s license as declared in YouTube’s video metadata
viewport_frames
text
Resolution of the primary video stream format, derived from YouTube’s streaming data
current_optimal_res
text
Current and optimal video resolution with frame rate, from YouTube’s streaming format metadata
codecs
text
Video and audio codec strings formatted as video codec and audio codec, extracted from YouTube’s adaptive streaming formats
color
text
Color primaries of the video stream, extracted from YouTube’s adaptive format color info
quality
text
Quality identifier of the first adaptive streaming format as reported by YouTube
quality_label
text
Human-readable video quality label as reported by YouTube
post_type
text
Type of YouTube content inferred from the URL structure. Possible values: post for standard video, short for YouTube Short, or N/A
youtuber_id
text
YouTube’s internal channel ID, distinct from the channel handle
transcript
text
Full plain-text transcript of the video, compiled from YouTube’s caption tracks. English captions are preferred, falls back to the first available language if English is unavailable
formatted_transcript
array
Timestamped transcript segments from YouTube’s caption tracks, each containing start time, end time, and duration in milliseconds, and the caption text
hashtags
array
List of hashtags found in the video title or description, each with the hashtag text and its YouTube search link
tags
array
Tags of the video
next_recommended_videos
array
Videos shown as end-screen cards during the final seconds of the video, including timing in milliseconds and display style
recommended_videos
array
Videos recommended by YouTube in the sidebar alongside the current video
transcript_language
array
List of caption and transcript languages available for this video on YouTube, including whether each track was auto-generated
chapters
array
List of chapter markers defined by the creator, each with a title, start time in milliseconds, and preview image
transcription_language
text
The language code requested by the caller for transcript retrieval, passed as an input parameter at collection time
is_age_restricted
boolean
Whether the video is age-restricted, inferred from a non-OK playability status combined with an age-related reason from YouTube
channel_url_decoded
text
Plain-text percent-decoded version of the channel URL
category
text
YouTube’s content category assigned to the video, from YouTube’s predefined category taxonomy
audio_tracks
array
audio Tracks
made_for_kids
boolean
Indicates whether the video is designated as made for kids, inferred from the YouTube miniplayer playback mode
player_notification_text
text
User-facing notification text shown inside the video player
ai_content_label
boolean
Indicates whether the video has been labeled as AI-generated or significantly AI-altered, either by the creator or auto-detected by YouTube.
live_status
text
Livestream status of the video, equivalent to yt-dlp’s live_status. One of “is_live”, “was_live”, or “not_live”, parsed from YouTube’s info string (e.g. “Streamed live 29 minutes ago”) or defaulted to “not_live” for regular videos
以上是 /scrape 的 format 值。完整列表(NDJSON(默认)、JSON、JSON lines、CSV 和 Parquet)及各格式适用范围见输出格式。
相关内容
异步批量请求
在单个批量作业中抓取数百个 URL。
API 参考
完整的参数和响应字段参考。
此页面对您有帮助吗?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bright Data Docs","description":"Documentation for Bright Data proxies, Web Unlocker API, SERP API, Web Scraper API, Browser API, Bright Data MCP, datasets and the CLI.","colors":{"primary":"#4180f9","light":"#4180f9","dark":"#4180f9"},"logo":{"light":"https://mintcdn.com/brightdata/FreEYbEGZchU-2Iw/logo/light.svg?fit=max\u0026auto=format\u0026n=FreEYbEGZchU-2Iw\u0026q=85\u0026s=fa5461a75d0b4cf2e744c89d4b67afac","dark":"https://mintcdn.com/brightdata/FreEYbEGZchU-2Iw/logo/dark.svg?fit=max\u0026auto=format\u0026n=FreEYbEGZchU-2Iw\u0026q=85\u0026s=43d5b51e1516be57edb429337abdc90f","href":"https://brightdata.com/"},"favicon":"https://mintcdn.com/brightdata/5sJgYq9iW-Vo_7rr/favicon.svg?fit=max\u0026auto=format\u0026n=5sJgYq9iW-Vo_7rr\u0026q=85\u0026s=1b96b56f36033019c22871f4799240b0","api":{"mdx":{"auth":{"method":"bearer","name":"API_KEY"}}},"navbar":{"links":[{"href":"https://help.brightdata.com/hc/en-us/requests/new","label":"Support"}],"primary":{"type":"button","label":"Sign up","href":"https://brightdata.com/?hs_signup=1\u0026utm_source=docs"}},"footer":{"socials":{"linkedin":"https://il.linkedin.com/company/bright-data","youtube":"https://www.youtube.com/channel/UCM_0cG1ljAoEUcZIyoUIq6g","github":"https://github.com/luminati-io"}},"styling":{"eyebrows":"section","latex":true},"integrations":{"ga4":{"measurementId":"G-20NKMKN19K"},"gtm":{"tagId":"GTM-P69HL92P"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"cn","href":"cn/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"brightdata","hasAudioNarration":false,"actualSubdomain":"brightdata","customDomains":["docs.brightdata.com"],"gitSource":{"type":"github","owner":"luminati-io","repo":"webdocs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0d5a8cc8c35da4f8a5300c","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"en","tag":"Data extraction","count":356},{"language":"cn","tag":"数据提取","count":356},{"language":"en","tag":"API reference","count":340},{"language":"cn","tag":"API 参考","count":339},{"language":"en","tag":"Documentation","count":210},{"language":"cn","tag":"文档","count":210},{"language":"en","tag":"Scraper API","count":157},{"language":"cn","tag":"Scraper API","count":157},{"language":"en","tag":"Integrations","count":110},{"language":"cn","tag":"集成","count":110},{"language":"en","tag":"SERP API","count":97},{"language":"cn","tag":"SERP API","count":97},{"language":"en","tag":"Social Media APIs","count":66},{"language":"cn","tag":"社交媒体 API","count":66},{"language":"cn","tag":"管理 API","count":64},{"language":"en","tag":"Administrative APIs","count":51},{"language":"en","tag":"Account Management API","count":51},{"language":"cn","tag":"账号管理 API","count":51},{"language":"cn","tag":"代理网络","count":47},{"language":"en","tag":"Proxy","count":46}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"api-reference/style.css","content":".scrollable-list{max-height:150px;overflow-y:auto;border:1px solid #ccc;padding:10px;width:200px;margin:20px}.scrollable-list ul{padding:0;margin:0}.scrollable-list li{transition:transform 0.3s ease, background-color 0.3s ease;padding:5px;margin:4px 0;background-color:#f5f5f5;list-style:none}.scrollable-list li:hover{transform:translateX(10px);background-color:#e0f7fa}"},{"filePath":"style.css","content":"footer{margin-top:2rem}div:has(>div.flex.flex-row-reverse>div.relative.grow>div.mdx-content>.bd-landing){max-width:none!important}div.mdx-content:has(>.bd-landing),div.prose:has(>.bd-landing){max-width:none!important;width:100%!important}div:has(>div.mdx-content>.bd-landing)>header.relative.leading-none,div:has(>div.mdx-content>.bd-landing)>header{display:none!important}.bd-landing{width:100%;max-width:100%}.bd-landing{--bd-primary: #4180f9;--bd-primary-tint: rgba(65, 128, 249, 0.08);--bd-primary-border: rgba(65, 128, 249, 0.25)}.bd-page{width:100%;max-width:100%;margin:0 auto;padding:0 0 3rem;box-sizing:border-box}.bd-hero{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start;margin:0.5rem 0 1.25rem}@media (min-width: 960px){.bd-hero{grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr);gap:3rem}}.bd-hero-copy{min-width:0}.bd-hero-image{min-width:0;max-width:100%;display:flex;align-items:center;justify-content:center}.bd-hero-image img{width:100%;max-width:480px;max-height:360px;height:auto;object-fit:contain;display:block}.bd-eyebrow{display:inline-block;font-size:0.75rem;font-weight:600;color:var(--bd-primary);text-transform:uppercase;letter-spacing:0.08em;margin-bottom:0.75rem}.bd-hero-copy .bd-headline,h1.bd-headline{font-size:2.75rem!important;font-weight:800!important;line-height:1.05!important;margin:0 0 1rem!important;letter-spacing:-0.025em!important;display:block!important;text-wrap:balance}.bd-hero-copy .bd-headline>a,.bd-hero-copy .bd-headline::before{display:none!important}.bd-subhead{font-size:1.125rem;line-height:1.6;color:#475569;margin:0 0 1.5rem;max-width:38rem}.dark .bd-subhead{color:#cbd5e1}.bd-cta-row{display:flex;flex-wrap:wrap;gap:0.75rem;margin:1.25rem 0 0}.bd-cta-row a.bd-cta-primary,.bd-cta-row a.bd-cta-secondary{display:inline-flex;align-items:center;gap:0.5rem;padding:0.75rem 1.25rem;border-radius:8px;font-size:0.9375rem;font-weight:600;text-decoration:none!important;transition:all 0.15s ease}.bd-cta-row a.bd-cta-primary{background:var(--bd-primary);color:#fff!important;border:1px solid var(--bd-primary)}.bd-cta-row a.bd-cta-primary:hover{background:#2f6ce8;transform:translateY(-1px);box-shadow:0 6px 16px rgba(65, 128, 249, 0.25)}.bd-cta-row a.bd-cta-secondary{background:transparent;color:var(--bd-primary)!important;border:1px solid var(--bd-primary-border)}.bd-cta-row a.bd-cta-secondary:hover{background:var(--bd-primary-tint);border-color:var(--bd-primary)}.bd-callout{display:flex;align-items:center;gap:0.75rem;padding:0.875rem 1.25rem;margin:0 0 2rem;background:var(--bd-primary-tint);border:1px solid var(--bd-primary-border);border-radius:10px;font-size:0.9375rem;line-height:1.5}.bd-callout a{color:var(--bd-primary)!important;font-weight:600;text-decoration:underline}.bd-callout-icon{flex:0 0 auto;font-size:1rem;line-height:1}.bd-pill{display:inline-block;padding:0.25rem 0.625rem;background:var(--bd-primary);color:#fff;border-radius:999px;font-size:0.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;vertical-align:middle}.bd-group-label{margin-top:0.5rem;margin-bottom:1rem}h3.bd-group-heading,.bd-page h3.bd-group-heading{font-size:0.8125rem!important;font-weight:700!important;text-transform:uppercase;letter-spacing:0.08em;color:#64748b!important;margin-top:2.5rem!important;margin-bottom:1rem!important;padding-left:0!important}.dark h3.bd-group-heading,.dark .bd-page h3.bd-group-heading{color:#94a3b8!important}h3.bd-group-heading::before,.bd-page h3.bd-group-heading::before{display:none!important;content:none!important}.bd-landing a[href]:has(>div),.bd-landing [class*=\"card\"]{transition:all 0.2s ease!important}.bd-landing a[href]:has(>div):hover,.bd-landing [class*=\"card\"]:hover{border-color:var(--bd-primary)!important;transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(65, 128, 249, 0.12)!important}.bd-landing svg[class*=\"icon\"],.bd-landing [class*=\"card\"] svg{color:var(--bd-primary)!important}.bd-page>h2{font-size:1.75rem!important;font-weight:700!important;margin-top:4rem!important;margin-bottom:1.25rem!important;line-height:1.2!important;position:relative;padding-left:1rem;color:inherit}.bd-page>h2::before{content:\"\";position:absolute;left:0;top:0.25rem;bottom:0.25rem;width:4px;background:var(--bd-primary);border-radius:2px}.bd-page>h2+p,.bd-page>h3+p{margin-top:0!important;margin-bottom:1.5rem!important;color:#64748b;font-size:1rem;line-height:1.6}.dark .bd-page>h2+p,.dark .bd-page>h3+p{color:#94a3b8}.bd-page>h3{font-size:1.125rem!important;font-weight:600!important;margin-top:2rem!important;margin-bottom:1rem!important;color:inherit}.bd-page>p{font-size:1rem;line-height:1.6;color:inherit;margin:0 0 1.5rem}div.mt-12>li>div{font-weight:600}div.mt-12>h5{font-weight:bolder}.bd-browse-all{display:inline-flex;align-items:center;gap:0.375rem;margin-top:1.25rem;margin-bottom:2rem;font-weight:600;color:var(--bd-primary)!important}.bd-credits{margin:1.5rem 0 0;font-size:0.875rem;line-height:1.6;color:#64748b}.dark .bd-credits{color:#94a3b8}.bd-hero-code{min-width:0;max-width:100%}.bd-hero-code pre{font-size:0.8125rem}.bd-hero{margin-bottom:3rem}.bd-page--plain>h2{padding-left:0!important}.bd-page--plain>h2::before{display:none!important;content:none!important}.bd-landing p.truncate{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.bd-landing a.tile,.bd-landing a.tile>div{align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}.bd-landing a.tile img{width:100%!important;align-self:stretch!important}.bd-catalog-row{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 2fr);gap:2rem 3rem;padding:2.25rem 0}.bd-catalog-row+.bd-catalog-row{border-top:1px solid rgba(148, 163, 184, 0.18)}@media (max-width: 860px){.bd-catalog-row{grid-template-columns:1fr;gap:1rem}}.bd-catalog-info h3{font-size:1.1875rem!important;font-weight:600!important;margin:0 0 0.5rem!important}.bd-catalog-info h3 a,.bd-catalog-info h3::before{display:none!important}.bd-catalog-info p{margin:0;font-size:0.9375rem;line-height:1.6;color:#64748b;max-width:26rem}.dark .bd-catalog-info p{color:#94a3b8}.bd-catalog-items{display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5rem, 1fr));gap:0.25rem 1rem;align-content:start}a.bd-catalog-item{display:flex;align-items:flex-start;gap:0.625rem;padding:0.5rem 0.625rem;border-radius:8px;font-size:0.9375rem;font-weight:500;color:inherit!important;text-decoration:none!important;border:none!important;transition:background 0.15s ease}a.bd-catalog-item:hover{background:rgba(65, 128, 249, 0.08)}a.bd-catalog-item:hover .bd-catalog-item-name{color:var(--bd-primary, #4180f9)}.bd-catalog-item-text{display:flex;flex-direction:column;gap:0.125rem;min-width:0}.bd-catalog-item-name{line-height:1.35}.bd-catalog-item-desc{font-size:0.8125rem;font-weight:400;line-height:1.45;color:#64748b}.dark .bd-catalog-item-desc{color:#94a3b8}a.bd-catalog-item svg{margin-top:0.2rem}a.bd-catalog-item svg,a.bd-catalog-item [class*=\"icon\"]{flex:0 0 auto;width:1rem;height:1rem;color:var(--bd-primary, #4180f9)}.bd-footer-links{display:flex;flex-wrap:wrap;gap:2rem;margin-top:5rem;padding-top:1.75rem;border-top:1px solid rgba(148, 163, 184, 0.25)}.bd-footer-links a{font-size:0.875rem;font-weight:500;color:#64748b!important;text-decoration:none!important}.bd-footer-links a:hover{color:var(--bd-primary)!important}.dark .bd-footer-links a{color:#94a3b8!important}.scrollable-list{max-height:150px;overflow-y:auto;border:1px solid #ccc;padding:10px;width:200px;margin:20px}.scrollable-list ul{padding:0;margin:0}.scrollable-list li{transition:transform 0.3s ease, background-color 0.3s ease;padding:5px;margin:4px 0;background-color:#f5f5f5;list-style:none}.scrollable-list li:hover{transform:translateX(10px);background-color:#e0f7fa}"}]}
{"page":{"pagePath":"cn/products/scrapers/youtube/send-first-request","slug":"/cn/products/scrapers/youtube/send-first-request","pageMetadata":{"title":"YouTube Scraper API 端点","sidebarTitle":"端点","description":"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。","href":"/cn/products/scrapers/youtube/send-first-request"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,Card,CardGroup,CodeBlock,Heading,Note,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`本指南介绍如何向每个 Bright Data YouTube Scraper API 端点发送同步请求。完成后,您将获得频道、视频和评论的工作示例。`}),`\n`,_jsx(Heading,{level:`2`,id:`先决条件`,children:`先决条件`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`一个 `,_jsx(_components.a,{href:`https://www.bright.cn/products/web-scraper/youtube?hs_signup=1\u0026utm_source=docs`,children:`Bright Data 账户`}),`,具有有效的 API 密钥`]}),`\n`,_jsxs(_components.li,{children:[`完成了 `,_jsx(_components.a,{href:`/cn/products/scrapers/youtube/quickstart`,children:`快速入门`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`请求结构`,children:`请求结构`}),`\n`,_jsx(_components.p,{children:`每个同步请求都遵循相同的模式:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.brightdata.com/datasets/v3/scrape?dataset_id={DATASET_ID}\u0026format=json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Type: application/json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[{\"url\": \"https://www.youtube.com/...\"}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`端点之间唯一改变的是 `,_jsx(_components.code,{children:`dataset_id`}),` 和输入 URL 格式。`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`/scrape`}),` 端点专为实时的单 URL 请求设计。采集在 1 分钟内完成时,端点会在响应中直接返回数据。Bright Data 建议每个请求只发送一个输入,因为输入越多,越难在 1 分钟内完成。如果采集耗时更长,响应为 HTTP `,_jsx(_components.code,{children:`202`}),`,返回 `,_jsx(_components.code,{children:`snapshot_id`}),` 而不是数据,采集将继续以异步方式进行。请通过`,_jsx(_components.a,{href:`/cn/products/scrapers/scrapers-library/async-requests`,children:`异步请求`}),`获取结果,或使用 `,_jsx(_components.a,{href:`/cn/products/scrapers/scrapers-library/data-delivery`,children:`Webhook 投递`}),`接收结果。`]})}),`\n`,_jsx(Heading,{level:`2`,id:`频道`,children:`频道`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lk538t2k2p1k3oos71`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lk538t2k2p1k3oos71\u0026format=json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '[{\"url\": \"https://www.youtube.com/@MrBeast\"}]'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`您应该会看到 `,_jsx(_components.code,{children:`200`}),` 响应。处理时间取决于目标网站状况和爬虫负载。`]}),`\n`,_jsx(Accordion,{title:`示例响应`,id:`%5B-%7B-%22subscribers%22%3A-516000000%2C-%22url%22%3A-%22https%3A%2F%2Fwww.youtube.com%2F%40mrbeast%22%2C-%22handle%22%3A-%22%40mrbeast%22%2C-%22handle_md5%22%3A-%22dd748d5dfc88b91ea388429c3c685874%22%2C-%22banner_img%22%3A-%22https%3A%2F%2Fyt3.googleusercontent.com%2Fmhmo_eemp0dpvh0adwxhpxnyb_gnjsvsli8biqf1cpxt8opl7izhnqsdpd3jhhd5y5mg9grp%3Dw2560-fcrop64%3D1%2C00005a57ffffa5a8-k-c0xffffffff-no-...%22%2C-%22profile_image%22%3A-%22https%3A%2F%2Fyt3.googleusercontent.com%2Fnxyrc_1_2f77dobadyxmtmv7zprzaphr5jbuye7plpd5cirjxtnneyyoc0zsxadyjjzxrnjiude%3Ds160-c-k-c0x00ffffff-no-rj%22%2C-%22name%22%3A-%22mrbeast%22%2C-%22description%22%3A-%22subscribe-for-a-cookie!%5Cnnew-mrbeast-or-mrbeast-gaming-video-every-single-saturday-at-noon-eastern-time!%5Cnaccomplishments%3A%5Cn--raised-%2420%2C000%2C000-to-plant-20%2C000...%22%2C-%22videos_count%22%3A-1000%2C-%22created_date%22%3A-%222012-02-19t00%3A00%3A00.000z%22-%7D-%5D`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscribers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`516000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.youtube.com/@mrbeast\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"handle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@MrBeast\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"handle_md5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dd748d5dfc88b91ea388429c3c685874\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"banner_img\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://yt3.googleusercontent.com/mHMO_eEMp0dPvh0ADwXhPXNYb_GnjSVsLI8biqF1CpxT8OPl7izhNQsDPD3JHhd5y5Mg9GrP=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profile_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s160-c-k-c0x00ffffff-no-rj\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MrBeast\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUBSCRIBE FOR A COOKIE!`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`New MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Accomplishments:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`- Raised $20,000,000 To Plant 20,000...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"videos_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2012-02-19T00:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/cn/api-reference/scrapers/social-media-apis/youtube-channels-collect-by-url`,children:`完整频道响应架构`})}),`\n`,_jsx(Heading,{level:`3`,id:`youtube-频道抓取器返回哪些输出字段?`,children:`YouTube 频道抓取器返回哪些输出字段?`}),`\n`,_jsxs(_components.p,{children:[`YouTube 频道抓取器(`,_jsx(_components.code,{children:`gd_lk538t2k2p1k3oos71`}),`,`,_jsx(_components.code,{children:`collect_by_url`}),`)返回 21 个输出字段。字段说明保留 API 返回的英文原文。`]}),`\n`,_jsx(Accordion,{title:`输出字段(21)`,id:`21`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`字段`}),_jsx(_components.th,{children:`类型`}),_jsx(_components.th,{children:`说明`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL that link directly to the YouTube profile`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`handle`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Unique to each user (e.g., @name)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`handle_md5`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`This field stores the MD5 hash of the handle field.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`banner_img`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL that links to the banner photo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`profile_image`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL that link to the profile picture`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Profile name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subscribers`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`How many subscribers the profile have`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Brief descriptions or statements that users write to introduce themselves or share their interests and passions on YouTube`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`videos_count`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`How many videos the profile have`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_date`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`The date the profile was created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`views`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`How many views the profile have`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Details`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`channel Details`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Links`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`External websites that users may link to from their YouTube profiles`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`identifier`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`identifier`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discovery_input`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Discovery input value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`channel id`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`has_podcast`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`has podcast indicator`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`top_videos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`top videos`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`featured_video`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`Featured Video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`featured_channels`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`featured channels`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`collaborations`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Collaborations videos`})]})]})]})}),`\n`,_jsxs(_components.p,{children:[`包含输入 schema 的机器可读版本:`,_jsx(_components.a,{href:`/scrapers/gd_lk538t2k2p1k3oos71.json`,children:_jsx(_components.code,{children:`/scrapers/gd_lk538t2k2p1k3oos71.json`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`视频`,children:`视频`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lk56epmy2i5g7lzu0k`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lk56epmy2i5g7lzu0k\u0026format=json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '[{\"url\": \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"}]'`})]}),`\n`]})})}),`\n`,_jsx(Accordion,{title:`示例响应`,id:`-1`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"views\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1812511291`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"likes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`19374379`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_posted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2009-10-25T06:57:33.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The official video for “Never Gonna Give You Up” by Rick Astley. `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Never: The Autobiography 📚 OUT NOW! `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Follow this link to get your copy and listen to Rick...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"num_comments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2457228`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"youtuber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@RickAstleyYT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"youtuber_md5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4fc65cd6213b5c0f1d04c2aa3006f46a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://rr2---sn-n4v7snse.googlevideo.com/videoplayback?expire=1788712345\u0026ei=OUGdaoSULZ-RsfIP8OmfsAo\u0026ip=208.41.164.3\u0026id=o-ALklNMQDHiVh32KdRiuWf9qyPo-8mNxywN-...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/cn/api-reference/scrapers/social-media-apis/youtube-videos-collect-by-url`,children:`完整视频响应架构`})}),`\n`,_jsx(Heading,{level:`3`,id:`youtube-视频抓取器返回哪些输出字段?`,children:`YouTube 视频抓取器返回哪些输出字段?`}),`\n`,_jsxs(_components.p,{children:[`YouTube 视频抓取器(`,_jsx(_components.code,{children:`gd_lk56epmy2i5g7lzu0k`}),`,`,_jsx(_components.code,{children:`collect_by_url`}),`)返回 58 个输出字段。字段说明保留 API 返回的英文原文。`]}),`\n`,_jsx(Accordion,{title:`输出字段(58)`,id:`58`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`字段`}),_jsx(_components.th,{children:`类型`}),_jsx(_components.th,{children:`说明`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`The full YouTube watch URL of the collected video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Title of the YouTube video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`youtuber`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The channel handle extracted from the channel’s browse endpoint`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`youtuber_md5`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`MD5 hash of the youtuber field`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`Direct streaming URL of the video file, extracted from YouTube’s adaptive formats or decoded from signatureCipher`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_length`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Duration of the video in seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`likes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of likes received by the video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`views`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of views the video has received`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date_posted`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Date when the video was published`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Text description accompanying the video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`num_comments`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of comments on the video, as displayed by YouTube (includes both top-level comments and replies in YouTube’s count)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subscribers`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of subscribers to the YouTube channel`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`music`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Information about the music used in the video. Only present when YouTube’s Content ID system has identified music in the video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Unique identifier for the YouTube video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`channel_url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL-encoded URL of the YouTube channel, derived from the channel’s canonical browse endpoint`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preview_image`})}),_jsx(_components.td,{children:`image`}),_jsx(_components.td,{children:`URL of the preview image for the video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shortcode`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The unique short identifier of the video, identical to video_id, used across all YouTube video types including regular videos and Shorts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`verified`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the channel is verified`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`handle_name`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The display name of the YouTube channel as shown on the video page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`avatar_img_channel`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`The URL of the avatar image of the YouTube channel`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_sponsored`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the video contains a paid content overlay as declared by YouTube`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`related_videos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of URLs of videos shown in the sidebar alongside the current video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`license`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL of the video’s license as declared in YouTube’s video metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`viewport_frames`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Resolution of the primary video stream format, derived from YouTube’s streaming data`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`current_optimal_res`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Current and optimal video resolution with frame rate, from YouTube’s streaming format metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`codecs`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Video and audio codec strings formatted as video codec and audio codec, extracted from YouTube’s adaptive streaming formats`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`color`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Color primaries of the video stream, extracted from YouTube’s adaptive format color info`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quality`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Quality identifier of the first adaptive streaming format as reported by YouTube`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quality_label`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Human-readable video quality label as reported by YouTube`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_type`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Type of YouTube content inferred from the URL structure. Possible values: post for standard video, short for YouTube Short, or N/A`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`youtuber_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`YouTube’s internal channel ID, distinct from the channel handle`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transcript`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Full plain-text transcript of the video, compiled from YouTube’s caption tracks. English captions are preferred, falls back to the first available language if English is unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formatted_transcript`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Timestamped transcript segments from YouTube’s caption tracks, each containing start time, end time, and duration in milliseconds, and the caption text`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`hashtags`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of hashtags found in the video title or description, each with the hashtag text and its YouTube search link`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tags`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Tags of the video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`next_recommended_videos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Videos shown as end-screen cards during the final seconds of the video, including timing in milliseconds and display style`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recommended_videos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Videos recommended by YouTube in the sidebar alongside the current video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transcript_language`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of caption and transcript languages available for this video on YouTube, including whether each track was auto-generated`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`chapters`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of chapter markers defined by the creator, each with a title, start time in milliseconds, and preview image`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transcription_language`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The language code requested by the caller for transcript retrieval, passed as an input parameter at collection time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_age_restricted`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Whether the video is age-restricted, inferred from a non-OK playability status combined with an age-related reason from YouTube`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`channel_url_decoded`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Plain-text percent-decoded version of the channel URL`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`YouTube’s content category assigned to the video, from YouTube’s predefined category taxonomy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio_tracks`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`audio Tracks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`made_for_kids`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the video is designated as made for kids, inferred from the YouTube miniplayer playback mode`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`player_notification_text`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`User-facing notification text shown inside the video player`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ai_content_label`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the video has been labeled as AI-generated or significantly AI-altered, either by the creator or auto-detected by YouTube.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`live_status`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Livestream status of the video, equivalent to yt-dlp’s live_status. One of “is_live”, “was_live”, or “not_live”, parsed from YouTube’s info string (e.g. “Streamed live 29 minutes ago”) or defaulted to “not_live” for regular videos`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`comments`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`10 Most relevant comments of the video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_size_bytes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`video_size_bytes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio_size_bytes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`audio_size_bytes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_size_bytes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`total_size_bytes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_itag`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`video_itag`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`still_image_probability`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`still_image_probability`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`static_score`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`static_score`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`original_audio_country`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Country of original audio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_web_embedded_player`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Requires web embedded player`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`original_audio_track_language`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The audio tracks language`})]})]})]})}),`\n`,_jsxs(_components.p,{children:[`包含输入 schema 的机器可读版本:`,_jsx(_components.a,{href:`/scrapers/gd_lk56epmy2i5g7lzu0k.json`,children:_jsx(_components.code,{children:`/scrapers/gd_lk56epmy2i5g7lzu0k.json`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`评论`,children:`评论`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lk9q0ew71spt1mxywf`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lk9q0ew71spt1mxywf\u0026format=json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '[{\"url\": \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"}]'`})]}),`\n`]})})}),`\n`,_jsx(Accordion,{title:`示例响应`,id:`-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"likes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`311000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"replies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"comment_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ugzge340dBgB75hWBm54AaABAg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"comment_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"can confirm: he never gave us up\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"username\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@Yo***e\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"username_md5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0e4d7a0778633b4acf6631dd251f0797\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user_channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.youtube.com/@YouTube\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1 year ago\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dQw4w9WgXcQ\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/cn/api-reference/scrapers/social-media-apis/youtube-comments-collect-by-url`,children:`完整评论响应架构`})}),`\n`,_jsx(Heading,{level:`3`,id:`youtube-评论抓取器返回哪些输出字段?`,children:`YouTube 评论抓取器返回哪些输出字段?`}),`\n`,_jsxs(_components.p,{children:[`YouTube 评论抓取器(`,_jsx(_components.code,{children:`gd_lk9q0ew71spt1mxywf`}),`,`,_jsx(_components.code,{children:`collect_by_url`}),`)返回 16 个输出字段。字段说明保留 API 返回的英文原文。`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`字段`}),_jsx(_components.th,{children:`类型`}),_jsx(_components.th,{children:`说明`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`comment_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Unique identifier for each comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`comment_text`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The text content of the comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`likes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of likes received by the comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`replies`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of replies to the comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`username`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Username of the commenter`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`username_md5`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`This field stores the MD5 hash of the username field.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_channel`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`URL of the commenter’s YouTube channel`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Date when the comment was posted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`Web address of the YouTube video where the comment was posted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Unique identifier for the YouTube video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`replies_value`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Array of reply objects associated with this comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`replies_without_names`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Array of reply objects with personally identifiable information (usernames) removed, containing only MD5 hashed user identifiers`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Unique identifier for the commenter’s YouTube channel`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mentioned_timestamps_minutes`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Array of timestamps mentioned in the comment, formatted in minutes (e.g., ‘2:35’)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mentioned_timestamps_seconds`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Array of timestamps mentioned in the comment, converted to total seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date_iso`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Date in ISO format`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`包含输入 schema 的机器可读版本:`,_jsx(_components.a,{href:`/scrapers/gd_lk9q0ew71spt1mxywf.json`,children:_jsx(_components.code,{children:`/scrapers/gd_lk9q0ew71spt1mxywf.json`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`快速参考:数据集-id`,children:`快速参考:数据集 ID`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`端点`}),_jsx(_components.th,{style:{textAlign:`left`},children:`数据集 ID`}),_jsx(_components.th,{style:{textAlign:`left`},children:`URL 模式`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`视频`}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`gd_lk56epmy2i5g7lzu0k`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`youtube.com/watch?v={video_id}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`频道`}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`gd_lk538t2k2p1k3oos71`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`youtube.com/@{handle}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`评论`}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`gd_lk9q0ew71spt1mxywf`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`youtube.com/watch?v={video_id}`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`输出格式`,children:`输出格式`}),`\n`,_jsxs(_components.p,{children:[`使用 `,_jsx(_components.code,{children:`format`}),` 查询参数控制响应格式:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`值`}),_jsx(_components.th,{style:{textAlign:`left`},children:`描述`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`json`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`JSON 数组`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`ndjson`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`换行分隔的 JSON,每行一条记录(默认)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`csv`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`逗号分隔值`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`以上是 `,_jsx(_components.code,{children:`/scrape`}),` 的 `,_jsx(_components.code,{children:`format`}),` 值。完整列表(NDJSON(默认)、JSON、JSON lines、CSV 和 Parquet)及各格式适用范围见`,_jsx(_components.a,{href:`/cn/products/scrapers/scrapers-library/data-delivery#%E6%94%AF%E6%8C%81%E5%93%AA%E4%BA%9B%E8%BE%93%E5%87%BA%E6%A0%BC%E5%BC%8F`,children:`输出格式`}),`。`]}),`\n`,_jsx(Heading,{level:`2`,id:`相关内容`,children:`相关内容`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`异步批量请求`,icon:`layer-group`,href:`/products/scrapers/scrapers-library/async-requests`,children:_jsx(_components.p,{children:`在单个批量作业中抓取数百个 URL。`})}),_jsx(Card,{title:`API 参考`,icon:`code`,href:`/api-reference/scrapers/social-media-apis/youtube-channels-collect-by-url`,children:_jsx(_components.p,{children:`完整的参数和响应字段参考。`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"YouTube Scraper API 端点","sidebarTitle":"端点","description":"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。","href":"/cn/products/scrapers/youtube/send-first-request"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"先决条件","slug":"先决条件","depth":2,"children":[]},{"title":"请求结构","slug":"请求结构","depth":2,"children":[]},{"title":"频道","slug":"频道","depth":2,"children":[{"title":"YouTube 频道抓取器返回哪些输出字段?","slug":"youtube-频道抓取器返回哪些输出字段?","depth":3,"children":[]}]},{"title":"视频","slug":"视频","depth":2,"children":[{"title":"YouTube 视频抓取器返回哪些输出字段?","slug":"youtube-视频抓取器返回哪些输出字段?","depth":3,"children":[]}]},{"title":"评论","slug":"评论","depth":2,"children":[{"title":"YouTube 评论抓取器返回哪些输出字段?","slug":"youtube-评论抓取器返回哪些输出字段?","depth":3,"children":[]}]},{"title":"快速参考:数据集 ID","slug":"快速参考:数据集-id","depth":2,"children":[]},{"title":"输出格式","slug":"输出格式","depth":2,"children":[]},{"title":"相关内容","slug":"相关内容","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/brightdata/68bae243aeababfe/script.js","/_mintlify/custom/brightdata/c119bb67904233e1/nav-internal-links.js","/_mintlify/custom/brightdata/2dd0be8455e09562/prompt-copy-plaintext.js","/_mintlify/custom/brightdata/614f9419dc2a8785/marketing-attribution.js"],"subdomain":"brightdata","siteName":"Bright Data Docs","title":"YouTube Scraper API 端点 - Bright Data Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/products/scrapers/youtube/send-first-request","matchLevel":1},"cn":{"href":"/cn/products/scrapers/youtube/send-first-request","matchLevel":0}}},"lastModified":"2026-11-17T04:14:32.843Z","originalFileLocation":"cn/products/scrapers/youtube/send-first-request.mdx","locale":"cn"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bright Data Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"YouTube Scraper API 端点 - Bright Data Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bright Data Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://brightdata.mintlify.site/_mintlify/api/og/v2?division=YouTube\u0026amp;title=YouTube+Scraper+API+%E7%AB%AF%E7%82%B9\u0026amp;description=%E4%BD%BF%E7%94%A8%E5%8F%AF%E5%A4%8D%E5%88%B6%E7%B2%98%E8%B4%B4%E7%9A%84%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B%E5%AF%B9%E6%89%80%E6%9C%89%E4%B8%89%E4%B8%AABright+Data+YouTube%E7%88%AC%E8%99%ABAPI%E7%AB%AF%E7%82%B9%E8%BF%9B%E8%A1%8C%E5%90%8C%E6%AD%A5%E8%AF%B7%E6%B1%82%E3%80%82\u0026amp;theme=7da10763b4cc41bb49d4e8a2\u0026amp;signature=824a25b6ab1b07a7da0b715e9a3ee7b494ee030316e81e7f21dd1a6838bcd5dd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"YouTube Scraper API 端点 - Bright Data Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://brightdata.mintlify.site/_mintlify/api/og/v2?division=YouTube\u0026amp;title=YouTube+Scraper+API+%E7%AB%AF%E7%82%B9\u0026amp;description=%E4%BD%BF%E7%94%A8%E5%8F%AF%E5%A4%8D%E5%88%B6%E7%B2%98%E8%B4%B4%E7%9A%84%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B%E5%AF%B9%E6%89%80%E6%9C%89%E4%B8%89%E4%B8%AABright+Data+YouTube%E7%88%AC%E8%99%ABAPI%E7%AB%AF%E7%82%B9%E8%BF%9B%E8%A1%8C%E5%90%8C%E6%AD%A5%E8%AF%B7%E6%B1%82%E3%80%82\u0026amp;theme=7da10763b4cc41bb49d4e8a2\u0026amp;signature=824a25b6ab1b07a7da0b715e9a3ee7b494ee030316e81e7f21dd1a6838bcd5dd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/brightdata/uUUbPQlQGu6JyjN0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bright Data Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4180f9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cn/products/scrapers/youtube/send-first-request.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.brightdata.com/products/scrapers/youtube/send-first-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.brightdata.com/products/scrapers/youtube/send-first-request\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.brightdata.com/#organization\",\"name\":\"Bright Data Docs\",\"url\":\"https://docs.brightdata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/brightdata/FreEYbEGZchU-2Iw/logo/light.svg?fit=max\u0026auto=format\u0026n=FreEYbEGZchU-2Iw\u0026q=85\u0026s=fa5461a75d0b4cf2e744c89d4b67afac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.brightdata.com#website\",\"name\":\"Bright Data Docs\",\"url\":\"https://docs.brightdata.com\",\"publisher\":{\"@id\":\"https://docs.brightdata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request#webpage\",\"url\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request\",\"name\":\"YouTube Scraper API 端点\",\"description\":\"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。\",\"dateModified\":\"2026-11-17T04:14:32.843Z\",\"isPartOf\":{\"@id\":\"https://docs.brightdata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"数据提取\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scraper API\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"社交媒体爬虫\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/linkedin/introduction\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"YouTube\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/introduction\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"YouTube Scraper API 端点\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request#article\",\"headline\":\"YouTube Scraper API 端点\",\"name\":\"YouTube Scraper API 端点\",\"description\":\"使用可复制粘贴的代码示例对所有三个Bright Data YouTube爬虫API端点进行同步请求。\",\"url\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/youtube/send-first-request#webpage\"},\"dateModified\":\"2026-11-17T04:14:32.843Z\",\"publisher\":{\"@id\":\"https://docs.brightdata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.brightdata.com#website\"}}]}\u003c/script>","agentPointerHref":"/cn/products/scrapers/youtube/send-first-request.md","siteName":"Bright Data Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/products/scrapers/youtube/send-first-request"}]},{"language":"cn","tabs":[{"tab":"文档","groups":[{"group":"开始使用","pages":[{"title":"Bright Data 文档","sidebarTitle":"概览","icon":"page","mode":"wide","href":"/cn/introduction"},{"group":"快速开始","icon":"rocket","expanded":true,"pages":[{"title":"Bright Data 快速开始","sidebarTitle":"面向开发者","icon":"user","href":"/cn/quickstart"},{"title":"面向编码智能体的 Bright Data","sidebarTitle":"面向编码智能体","icon":"robot","href":"/cn/quickstart-coding-agent"}]},{"title":"如何选择最佳产品","sidebarTitle":"选择产品","icon":"compass","href":"/cn/product-selector"},{"group":"概念","icon":"lightbulb","pages":[{"title":"Bright Data 如何处理反机器人阻止","sidebarTitle":"反机器人阻止","href":"/cn/concepts/how-bright-data-handles-blocking"},{"title":"如何降低网络爬虫成本","href":"/cn/concepts/reducing-scraping-costs"},{"title":"道德网页抓取最佳实践","href":"/cn/concepts/ethical-web-scraping"},{"title":"现代网络爬取操作","href":"/cn/concepts/modern-scraping-operations"},{"title":"同步与异步请求","sidebarTitle":"同步与异步","href":"/cn/concepts/sync-vs-async"},{"title":"Scraper API vs DIY 网络爬虫","sidebarTitle":"Scraper API vs DIY","href":"/cn/concepts/web-scraper-api-vs-diy"}]},{"group":"教程","icon":"graduation-cap","pages":[{"title":"构建关键词社交监听工具","sidebarTitle":"社交监听","href":"/cn/products/scrapers/tutorials/social-listener"},{"title":"构建每日亚马逊价格监控器","sidebarTitle":"亚马逊价格监控","href":"/cn/products/scrapers/tutorials/amazon-price-monitor"},{"title":"构建 LinkedIn 到 CRM 的 webhook 管道","sidebarTitle":"LinkedIn 到 CRM","href":"/cn/products/scrapers/tutorials/linkedin-to-crm"}]},{"group":"CLI","icon":"terminal","pages":[{"title":"Bright Data CLI","sidebarTitle":"概览","icon":"terminal","href":"/cn/products/cli/overview"},{"title":"安装和设置","sidebarTitle":"安装","icon":"download","href":"/cn/products/cli/installation"},{"title":"命令参考","sidebarTitle":"命令","icon":"code","href":"/cn/products/cli/commands"},{"title":"使用示例","sidebarTitle":"示例","icon":"book-open","href":"/cn/products/cli/examples"},{"title":"常见问题","sidebarTitle":"常见问题","icon":"question","href":"/cn/products/cli/faqs"}]},{"group":"Bright Data MCP","icon":"server","pages":[{"title":"MCP 服务器概览","sidebarTitle":"概览","href":"/cn/products/mcp-server/overview"},{"group":"远程","pages":[{"title":"如何开始使用远程 MCP 服务器","sidebarTitle":"快速开始","href":"/cn/products/mcp-server/remote/quickstart"},{"title":"高级配置","sidebarTitle":"高级","href":"/cn/products/mcp-server/remote/advanced"}]},{"group":"本地","pages":[{"title":"如何设置本地(自托管)MCP","sidebarTitle":"快速开始","href":"/cn/products/mcp-server/local/quickstart"},{"title":"高级配置","sidebarTitle":"高级","href":"/cn/products/mcp-server/local/advanced"}]},{"title":"工具","mode":"wide","href":"/cn/products/mcp-server/tools"},{"title":"MCP 使用示例","sidebarTitle":"使用示例","href":"/cn/products/mcp-server/usage-examples"},{"title":"TOON 格式","href":"/cn/products/mcp-server/toon"},{"title":"常见问题解答:MCP","sidebarTitle":"常见问题","href":"/cn/products/mcp-server/faqs"}]},{"title":"Python SDK","sidebarTitle":"Python SDK","icon":"Python","href":"/cn/api-reference/SDK"},{"sidebarTitle":"JavaScript SDK","icon":"node-js","title":"JavaScript SDK","href":"/cn/api-reference/SDK-JS"}]},{"group":"数据提取","pages":[{"group":"Scraper API","pages":[{"title":"Scraper API","sidebarTitle":"概览","mode":"wide","href":"/cn/products/scrapers/overview"},{"group":"社交媒体爬虫","icon":"users","pages":[{"group":"LinkedIn","pages":[{"title":"LinkedIn Scraper API","sidebarTitle":"简介","href":"/cn/products/scrapers/linkedin/introduction"},{"title":"在5分钟内抓取您的第一个LinkedIn个人资料","sidebarTitle":"快速开始","mode":"wide","href":"/cn/products/scrapers/linkedin/quickstart"},{"title":"LinkedIn Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/linkedin/send-first-request"}]},{"group":"Instagram","pages":[{"title":"Instagram 抓取 API","href":"/cn/products/scrapers/instagram/introduction"},{"title":"在5分钟内抓取你的第一个Instagram资料","href":"/cn/products/scrapers/instagram/quickstart"},{"title":"Instagram Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/instagram/send-first-request"}]},{"group":"TikTok","pages":[{"title":"TikTok爬虫API","href":"/cn/products/scrapers/tiktok/introduction"},{"title":"5分钟内抓取你的第一个TikTok个人资料","href":"/cn/products/scrapers/tiktok/quickstart"},{"title":"TikTok Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/tiktok/send-first-request"}]},{"group":"Facebook","pages":[{"title":"Facebook Scraper API","sidebarTitle":"简介","href":"/cn/products/scrapers/facebook/introduction"},{"title":"Facebook 爬虫快速入门","href":"/cn/products/scrapers/facebook/quickstart"},{"title":"Facebook Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/facebook/send-first-request"}]},{"group":"X (Twitter)","pages":[{"title":"X (Twitter) Scraper API","sidebarTitle":"简介","href":"/cn/products/scrapers/twitter/introduction"},{"title":"X (Twitter) 爬虫快速入门","href":"/cn/products/scrapers/twitter/quickstart"},{"title":"X (Twitter) Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/twitter/send-first-request"}]},{"group":"YouTube","pages":[{"title":"YouTube Scraper API","sidebarTitle":"简介","href":"/cn/products/scrapers/youtube/introduction"},{"title":"YouTube 爬虫快速入门","description":"在5分钟内设置Bright Data YouTube爬虫API并收集您的第一个频道数据。","href":"/cn/products/scrapers/youtube/quickstart"},{"title":"YouTube Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/youtube/send-first-request"}]},{"group":"Reddit","pages":[{"title":"Reddit 爬虫 API","description":"使用 Bright Data Reddit 爬虫 API 从 Reddit 帖子、评论和子版块提取结构化数据。同步请求最适合单个输入。","sidebarTitle":"介绍","href":"/cn/products/scrapers/reddit/introduction"},{"title":"Reddit 爬虫快速开始","sidebarTitle":"快速开始","mode":"wide","href":"/cn/products/scrapers/reddit/quickstart"},{"title":"Reddit Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/reddit/send-first-request"}]}]},{"group":"电商爬虫","icon":"cart-shopping","pages":[{"group":"Amazon","pages":[{"title":"Amazon Scraper API","sidebarTitle":"简介","href":"/cn/products/scrapers/amazon/introduction"},{"title":"Amazon 爬虫快速入门","href":"/cn/products/scrapers/amazon/quickstart"},{"title":"Amazon Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/amazon/send-first-request"}]}]},{"group":"搜索引擎爬虫","icon":"magnifying-glass","pages":[{"group":"Google","pages":[{"title":"Google 爬虫 API","sidebarTitle":"介绍","href":"/cn/products/scrapers/google/introduction"},{"title":"Google 爬虫快速开始","sidebarTitle":"快速开始","mode":"wide","href":"/cn/products/scrapers/google/quickstart"},{"title":"Google Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/google/send-first-request"}]}]},{"group":"AI 搜索爬虫","icon":"sparkles","pages":[{"group":"ChatGPT","pages":[{"title":"ChatGPT Scraper API","sidebarTitle":"简介","href":"/cn/products/scrapers/chatgpt/introduction"},{"title":"ChatGPT 爬虫快速入门","href":"/cn/products/scrapers/chatgpt/quickstart"},{"title":"ChatGPT Scraper API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/chatgpt/send-first-request"},{"title":"在 AI 爬虫中使用源","sidebarTitle":"使用源","href":"/cn/products/scrapers/scrapers-library/working-with-sources"},{"title":"查询扇出和网络搜索控制","href":"/cn/products/scrapers/concepts/query-fan-out"}]}]},{"group":"网页内容爬虫","icon":"globe","pages":[{"group":"Fetch API","pages":[{"title":"Fetch API","sidebarTitle":"简介","href":"/cn/products/scrapers/fetch-api/introduction"},{"title":"Fetch API 快速开始","sidebarTitle":"快速开始","mode":"wide","href":"/cn/products/scrapers/fetch-api/quickstart"},{"title":"Fetch API 端点","sidebarTitle":"端点","href":"/cn/products/scrapers/fetch-api/send-first-request"}]}]},{"group":"操作指南","pages":[{"title":"如何使用异步请求批量抓取数据","sidebarTitle":"批量抓取","href":"/cn/products/scrapers/scrapers-library/async-requests"},{"title":"如何投递 Scraper API 结果","sidebarTitle":"投递结果","href":"/cn/products/scrapers/scrapers-library/data-delivery"},{"title":"如何流式传输结果并投递文件","sidebarTitle":"流式传输与文件投递","href":"/cn/products/scrapers/scrapers-library/stream-and-file-delivery"},{"title":"如何设置成功率提醒","sidebarTitle":"设置成功率告警","href":"/cn/products/scrapers/scrapers-library/success-rate"}]},{"title":"Scraper API 常见问题解答","sidebarTitle":"常见问题","href":"/cn/products/scrapers/scrapers-library/faqs"},{"title":"Scraper API 错误代码","sidebarTitle":"错误代码","href":"/cn/products/scrapers/error-codes"},{"title":"Scraper API 限制","sidebarTitle":"限制","href":"/cn/products/scrapers/limits"},{"title":"Scraper API 参考","sidebarTitle":"API 参考","icon":"arrow-up-right-from-square","url":"/cn/api-reference/rest-api/scraper/asynchronous-requests","href":"/cn/products/scrapers/scrapers-library/api-reference"}]},{"group":"Scraper Studio","pages":[{"title":"Scraper Studio","sidebarTitle":"概览","mode":"wide","href":"/cn/products/scraper-studio/overview"},{"title":"Bright Data Scraper Studio API 快速开始","sidebarTitle":"快速开始","mode":"wide","href":"/cn/products/scraper-studio/quickstart"},{"title":"了解 Scraper Studio","sidebarTitle":"介绍","href":"/cn/products/scraper-studio/introduction"},{"title":"使用 AI Agent 构建爬虫","sidebarTitle":"AI Agent","tag":"New","href":"/cn/products/scraper-studio/ai-agent"},{"title":"理解AI爬虫工作室API","sidebarTitle":"AI 工作流 API","href":"/cn/api-reference/scraper-studio-api/ai-flow/overview"},{"title":"使用 Bright Data CLI 构建爬虫","sidebarTitle":"Bright Data CLI","tag":"New","href":"/cn/products/scraper-studio/build-with-the-cli"},{"title":"Scraper Studio 编码助手提示词","sidebarTitle":"编码助手提示词","icon":"messages","href":"/cn/products/scraper-studio/coding-agent-prompts"},{"group":"IDE","pages":[{"title":"Scraper Studio 网页爬取基础","sidebarTitle":"基础","href":"/cn/products/scraper-studio/basics-of-web-scraping"},{"title":"使用 IDE 开发爬虫","sidebarTitle":"开发爬虫","href":"/cn/products/scraper-studio/develop-a-scraper"},{"title":"Scraper Studio IDE 界面参考","sidebarTitle":"IDE 界面","href":"/cn/products/scraper-studio/scraper-studio-ide-interface"},{"title":"Scraper Studio worker 类型","sidebarTitle":"Worker 类型","href":"/cn/products/scraper-studio/worker-types"},{"title":"Scraper Studio 函数参考","sidebarTitle":"函数","href":"/cn/products/scraper-studio/functions"},{"title":"输入与输出架构","sidebarTitle":"输入与输出架构","href":"/cn/products/scraper-studio/input-and-output-schema"},{"title":"完整的 Scraper Studio IDE 示例","sidebarTitle":"完整示例","href":"/cn/products/scraper-studio/complete-examples"},{"title":"使用自我修复工具修复爬虫","sidebarTitle":"自我修复工具","tag":"New","mode":"wide","href":"/cn/products/scraper-studio/self-healing-tool"},{"title":"Scraper Studio 自动自我修复","sidebarTitle":"自动自我修复","href":"/cn/products/scraper-studio/auto-self-healing"},{"title":"Scraper Studio 中的 WARC 快照","sidebarTitle":"WARC 快照","href":"/cn/products/scraper-studio/warc-ide"},{"title":"Scraper Studio IDE 最佳实践","sidebarTitle":"最佳实践","href":"/cn/products/scraper-studio/best-practices"}]},{"group":"运行与交付","pages":[{"title":"启动数据收集与交付","sidebarTitle":"启动与交付","href":"/cn/products/scraper-studio/initiate-collection-and-delivery-options"},{"title":"在请求级别选择交付类型","href":"/cn/api-reference/scraper-studio-api/Choose_a_delivery_type_on_request_level"},{"title":"Scraper Studio 仪表盘功能","sidebarTitle":"仪表盘功能","href":"/cn/products/scraper-studio/features"}]},{"title":"Scraper Studio 规格说明","sidebarTitle":"规格说明","href":"/cn/products/scraper-studio/specifications"},{"title":"Scraper Studio 错误代码","sidebarTitle":"错误代码","href":"/cn/products/scraper-studio/error-codes"},{"title":"Scraper Studio 视频教程","sidebarTitle":"视频教程","href":"/cn/products/scraper-studio/videos"},{"title":"Scraper Studio 常见问题","sidebarTitle":"常见问题","href":"/cn/products/scraper-studio/faqs"}]},{"group":"数据集","pages":[{"group":"数据集市场","pages":[{"title":"数据集视图","href":"/cn/products/marketplace/dataset-view"},{"title":"自定义与筛选","sidebarTitle":"定制与筛选","href":"/cn/products/marketplace/customization-and-filtering"},{"title":"数据集市场填充率","sidebarTitle":"填充率与统计数据","href":"/cn/products/marketplace/fill-rates-and-statistics"},{"title":"购买选项","href":"/cn/products/marketplace/purchase-options"},{"title":"定价","href":"/cn/products/marketplace/pricing"},{"title":"数据集市场数据交付","sidebarTitle":"数据交付与导出","href":"/cn/products/marketplace/data-delivery-and-export"},{"title":"如何下载数据集媒体文件","sidebarTitle":"媒体快照","href":"/cn/products/marketplace/media-snapshot"},{"title":"常见问题解答","href":"/cn/products/marketplace/faqs"},{"group":"通过 API 查询数据集","pages":[{"title":"Dataset API:Search 与 Filter","sidebarTitle":"Dataset API 概览","href":"/cn/api-reference/marketplace-dataset-api/overview"},{"title":"通过 API 筛选数据集","url":"/cn/api-reference/marketplace-dataset-api/filter-dataset","href":"/cn/products/marketplace/filter-dataset-by-api"},{"title":"Search 数据集(同步,Elasticsearch)","sidebarTitle":"Search 数据集","href":"/cn/api-reference/marketplace-dataset-api/search-dataset"},{"title":"Dataset API 筛选语法","sidebarTitle":"筛选语法","href":"/cn/api-reference/marketplace-dataset-api/filter-syntax"},{"title":"故障排除","icon":"circle-exclamation","mode":"wide","href":"/cn/api-reference/marketplace-dataset-api/troubleshooting"}]},{"title":"Snowflake 数据交付配置指南","href":"/cn/general/cloud-providers/snowflake"}]}]},{"group":"Web Unlocker API","pages":[{"title":"Web Unlocker API 概述","sidebarTitle":"简介","href":"/cn/products/web-unlocker/introduction"},{"title":"Bright Data 的 Web Unlocker API 快速入门指南","sidebarTitle":"快速入门","href":"/cn/products/web-unlocker/quickstart"},{"title":"发送首个 Web Unlocker API 请求","sidebarTitle":"发送您的首个请求","href":"/cn/products/web-unlocker/send-your-first-request"},{"title":"如何为 Web Unlocker API 设置 Webhooks","sidebarTitle":"Webhooks 设置","mode":"wide","href":"/cn/products/web-unlocker/setup-webhooks"},{"title":"如何定位 API 端点","sidebarTitle":"定位 API 端点","href":"/cn/products/web-unlocker/target-api-endpoints"},{"title":"Web Unlocker API 配置","sidebarTitle":"配置","href":"/cn/products/web-unlocker/configuration"},{"title":"Web Unlocker API 功能","sidebarTitle":"功能","href":"/cn/products/web-unlocker/features"},{"title":"Web Unlocker API 错误代码","sidebarTitle":"错误代码","href":"/cn/products/web-unlocker/error-codes"}]},{"group":"浏览器 API","pages":[{"title":"Browser API 简介","sidebarTitle":"介绍","href":"/cn/products/scraping-browser/introduction"},{"title":"如何开始使用 Browser API","sidebarTitle":"快速开始","href":"/cn/products/scraping-browser/quickstart"},{"title":"5 分钟快速入门:运行您的第一个浏览器会话","sidebarTitle":"5 分钟快速入门","href":"/cn/products/scraping-browser/five-minute-how-to"},{"title":"浏览器 API 代码示例","sidebarTitle":"代码示例","href":"/cn/products/scraping-browser/code-examples"},{"title":"如何配置 Browser API","sidebarTitle":"配置","href":"/cn/products/scraping-browser/configuration"},{"group":"功能","pages":[{"title":"禁用验证码解决器","sidebarTitle":"验证码解决器","href":"/cn/products/scraping-browser/features/captcha-solver"},{"title":"地理位置定向","sidebarTitle":"Geolocation targeting","href":"/cn/products/scraping-browser/features/proxy-location"},{"title":"Browser API Playground","sidebarTitle":"Playground","href":"/cn/products/scraping-browser/features/playground"},{"title":"抓取浏览器: Premium Domains","sidebarTitle":"Premium Domains","href":"/cn/products/scraping-browser/features/premium-domains"},{"title":"Browser API 故障排除","sidebarTitle":"故障排除","href":"/cn/products/scraping-browser/features/troubleshooting"}]},{"group":"CDP Functions","pages":[{"title":"标准CDP函数","sidebarTitle":"标准","href":"/cn/products/scraping-browser/cdp-functions/standard"},{"title":"自定义 CDP 函数","sidebarTitle":"自定义","href":"/cn/products/scraping-browser/cdp-functions/custom"}]},{"title":"Browser API 错误代码","sidebarTitle":"错误代码","href":"/cn/products/scraping-browser/error-codes"},{"title":"了解您的 Browser API 带宽用量","sidebarTitle":"带宽","href":"/cn/products/scraping-browser/bandwidth"},{"title":"Browser API 常见问题解答","sidebarTitle":"常见问题","href":"/cn/products/scraping-browser/faqs"}]},{"group":"SERP API","pages":[{"title":"SERP API 入门","sidebarTitle":"入门","href":"/cn/products/serp-api/introduction"},{"title":"SERP API 快速入门","sidebarTitle":"快速开始","href":"/cn/products/serp-api/quickstart"},{"title":"使用 Bright Data 的 SERP API 发送您的第一个请求","sidebarTitle":"发送您的第一个请求","href":"/cn/products/serp-api/send-your-first-request"},{"title":"异步请求","href":"/cn/products/serp-api/asynchronous-requests"},{"title":"一次 API 调用获取 Google 前 100 条结果","href":"/cn/products/serp-api/get-top-100-google-results"},{"group":"指南","pages":[{"title":"使用 Google SERP API 入门","href":"/cn/products/serp-api/get-started-google-serp-api"},{"title":"开始使用 Bing SERP API","href":"/cn/products/serp-api/get-started-bing-serp-api"},{"title":"获取更多 Google 广告的指南","href":"/cn/products/serp-api/guidelines-for-getting-more-google-ads"},{"title":"Bing 到 Bright Data SERP 迁移指南","sidebarTitle":"Bing 到 Bright Data SERP 迁移指南","href":"/cn/products/serp-api/parsed-json-results/bing-to-bright-data-serp-migration-guide"}]},{"group":"快速 SERP(即将停用)","pages":[{"title":"Fast SERP 停用","sidebarTitle":"停用","href":"/cn/products/serp-api/fast-serp/retirement"},{"title":"Fast SERP 快速开始","sidebarTitle":"快速开始","href":"/cn/products/serp-api/fast-serp/quickstart"},{"title":"Fast SERP 网络搜索","sidebarTitle":"网络搜索","href":"/cn/products/serp-api/fast-serp/web-search"},{"title":"Fast SERP 新闻搜索","sidebarTitle":"新闻搜索","href":"/cn/products/serp-api/fast-serp/news-search"},{"title":"Fast SERP 购物搜索","sidebarTitle":"购物搜索","href":"/cn/products/serp-api/fast-serp/shopping-search"},{"title":"Fast SERP 地图搜索","sidebarTitle":"地图搜索","href":"/cn/products/serp-api/fast-serp/maps-search"},{"title":"Fast SERP 图片搜索","sidebarTitle":"图片搜索","href":"/cn/products/serp-api/fast-serp/images-search"}]},{"title":"SERP API 配置","sidebarTitle":"配置","href":"/cn/products/serp-api/configuration"},{"group":"查询参数","pages":[{"title":"SERP API Google 查询参数","sidebarTitle":"Google","href":"/cn/products/serp-api/query-parameters/google"},{"title":"SERP API Bing 查询参数","sidebarTitle":"Bing","href":"/cn/products/serp-api/query-parameters/bing"},{"title":"SERP API Yandex 查询参数","sidebarTitle":"Yandex","href":"/cn/products/serp-api/query-parameters/yandex"},{"title":"SERP API DuckDuckGo 查询参数","sidebarTitle":"DuckDuckGo","href":"/cn/products/serp-api/query-parameters/duckduckgo"}]},{"title":"Google SERP 功能","sidebarTitle":"功能","href":"/cn/products/serp-api/features"},{"title":"使用 SERP API 获取解析后的 JSON 结果","sidebarTitle":"解析后的 JSON 结果","href":"/cn/products/serp-api/parsed-json-results"},{"title":"SERP 定价与计费","href":"/cn/products/serp-api/pricing-and-billing"},{"title":"SERP 故障排除","sidebarTitle":"故障排除","href":"/cn/products/serp-api/debugging"},{"title":"SERP API 常见问题","sidebarTitle":"常见问题","href":"/cn/products/serp-api/faqs"}]}]},{"group":"网页搜索","pages":[{"group":"Business Search","pages":[{"title":"什么是 Business Search","sidebarTitle":"简介","href":"/cn/products/business-search/introduction"},{"title":"Business Search 快速开始","sidebarTitle":"快速开始","href":"/cn/products/business-search/quickstart"},{"title":"公司搜索","sidebarTitle":"公司搜索","href":"/cn/products/business-search/company-search"},{"title":"人物搜索","sidebarTitle":"人物搜索","href":"/cn/products/business-search/people-search"},{"title":"Business Search 查询语法","sidebarTitle":"查询语法","href":"/cn/products/business-search/query-syntax"},{"title":"Business Search 查询示例","sidebarTitle":"示例","href":"/cn/products/business-search/examples"},{"title":"Business Search 字段视图","sidebarTitle":"字段视图","href":"/cn/products/business-search/select-fields"},{"title":"如何对 Business Search 结果分页","sidebarTitle":"分页","href":"/cn/products/business-search/pagination"},{"title":"Business Search 价格","sidebarTitle":"价格","href":"/cn/products/business-search/pricing"},{"title":"Business Search 错误代码","sidebarTitle":"错误代码","href":"/cn/products/business-search/error-codes"}]}]},{"group":"AI 训练数据","pages":[{"group":"网络归档","pages":[{"title":"Web Archive 概览","sidebarTitle":"概览","href":"/cn/products/archive/overview"},{"title":"API 参考","icon":"arrow-up-right-from-square","url":"/cn/api-reference/archive-api/run-a-search","href":"/cn/products/archive/api-reference"},{"title":"数据范围如何影响交付时间","sidebarTitle":"数据范围 vs. 交付时间","href":"/cn/products/archive/data-range-vs-delivery-time"},{"title":"常见问题:Archive API","sidebarTitle":"常见问题","href":"/cn/products/archive/faqs"}]},{"group":"PDF 数据集","pages":[{"title":"了解 PDF 数据集","sidebarTitle":"概览","href":"/cn/products/pdf-datasets/overview"},{"title":"PDF 数据集参考","href":"/cn/products/pdf-datasets/reference"}]},{"title":"媒体数据 API","icon":"arrow-up-right-from-square","url":"/cn/api-reference/media-data-api/media-data-api","href":"/cn/datasets/media-data-api"}]},{"group":"代理网络","pages":[{"group":"住宅代理","pages":[{"title":"住宅代理简介","sidebarTitle":"简介","href":"/cn/products/residential/introduction"},{"title":"如何开始使用住宅代理","sidebarTitle":"快速开始","href":"/cn/products/residential/quickstart"},{"title":"如何配置您的住宅代理","sidebarTitle":"配置","href":"/cn/products/residential/configure-your-proxy"},{"title":"住宅网络访问政策","sidebarTitle":"访问政策","href":"/cn/products/residential/network-access"},{"title":"发送您的第一个请求","href":"/cn/products/residential/send-your-first-request"},{"title":"住宅产品常见问题解答","sidebarTitle":"FAQs","href":"/cn/products/residential/faqs"},{"title":"消费者如何加入 Bright Data 对等网络","sidebarTitle":"Bright Data 对等网络","href":"/cn/general/policy/How_do_consumers_join_the_Bright_Data_network_of_peers_"}]},{"group":"ISP 代理","pages":[{"title":"ISP代理简介","sidebarTitle":"简介","href":"/cn/products/isp/introduction"},{"title":"如何开始使用数据中心代理","sidebarTitle":"快速入门","href":"/cn/products/isp/quickstart"},{"title":"如何配置您的 ISP 代理","sidebarTitle":"配置","href":"/cn/products/isp/configure-your-proxy"},{"title":"发送第一个请求","href":"/cn/products/isp/send-your-first-request"},{"title":"ISP代理常见问题解答","sidebarTitle":"常见问题解答","href":"/cn/products/isp/faqs"}]},{"group":"数据中心代理","pages":[{"title":"数据中心代理简介","sidebarTitle":"简介","href":"/cn/products/data-center/introduction"},{"title":"如何开始使用数据中心代理","sidebarTitle":"快速开始","href":"/cn/products/data-center/quickstart"},{"title":"如何配置您的数据中心代理","sidebarTitle":"配置","href":"/cn/products/data-center/configure-your-proxy"},{"title":"发送您的第一个请求","href":"/cn/products/data-center/send-your-first-request"},{"title":"数据中心代理常见问题解答","sidebarTitle":"常见问题解答","href":"/cn/products/data-center/faqs"}]},{"group":"代理管理器","pages":[{"title":"Proxy Manager简介","sidebarTitle":"简介","href":"/cn/products/proxy-manager/introduction"},{"title":"如何开始使用代理管理器","sidebarTitle":"快速入门","href":"/cn/products/proxy-manager/quickstart"},{"title":"如何配置代理管理器","sidebarTitle":"配置","href":"/cn/products/proxy-manager/configuration"},{"title":"Proxy Manager集成","sidebarTitle":"集成","href":"/cn/products/proxy-manager/integration"},{"title":"保护您的 Proxy Manager 设置","sidebarTitle":"安全","href":"/cn/products/proxy-manager/security"},{"title":"Proxy Manager SSL 分析 CA 证书迁移","sidebarTitle":"证书迁移","href":"/cn/products/proxy-manager/certificate-migration"},{"title":"代理管理器常见问题","sidebarTitle":"常见问题","href":"/cn/products/proxy-manager/faqs"}]},{"group":"浏览器扩展","pages":[{"title":"介绍","href":"/cn/products/browser-extension/introduction"},{"title":"如何安装扩展程序","href":"/cn/products/browser-extension/install"},{"title":"使用浏览器扩展程序入门","sidebarTitle":"快速开始","href":"/cn/products/browser-extension/quickstart"},{"title":"配置","href":"/cn/products/browser-extension/configuration"},{"title":"功能","href":"/cn/products/browser-extension/features"},{"title":"FAQs","href":"/cn/products/browser-extension/faqs"}]},{"group":"参考","pages":[{"title":"代理配置选项","sidebarTitle":"配置选项","href":"/cn/proxy-networks/config-options"},{"title":"SOCKS 和 SOCKS5 代理","sidebarTitle":"SOCKS5 代理","href":"/cn/proxy-networks/socks5"},{"title":"代理错误排查","href":"/cn/proxy-networks/errorCatalog"},{"title":"克服网站封锁","sidebarTitle":"克服网站封锁","href":"/cn/proxy-networks/website-blocking"},{"title":"我的DNS为什么显示与代理IP不同的国家?","href":"/cn/proxy-networks/dns-location-mismatch"},{"title":"代理产品常见问题","href":"/cn/proxy-networks/faqs"}]}]},{"group":"托管服务","pages":[{"title":"Bright Data Managed Services 概览","sidebarTitle":"概览","href":"/cn/products/managed-services/overview"},{"title":"Bright Data Managed Services 的工作原理","sidebarTitle":"工作原理","href":"/cn/products/managed-services/how-it-works"},{"title":"Bright Data Managed Services 常见问题","sidebarTitle":"常见问题","href":"/cn/products/managed-services/faqs"}]}]},{"tab":"API 参考","pages":[{"title":"API 参考","href":"/cn/api-reference/authentication"}]},{"tab":"集成","pages":[{"title":"集成","href":"/cn/integrations/introduction"}]},{"tab":"账户管理","pages":[{"title":"账户管理","href":"/cn/general/account/overview"}]},{"tab":"遗留内容","hidden":true,"pages":[{"title":"遗留内容","href":"/cn/left-over/datasets-introduction"}]}]}]},"basePath":"","title":"YouTube Scraper API 端点 - Bright Data Docs","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}