Reddit 评论抓取器(gd_lvzdpsdlw09j6t702,collect_by_url)返回 34 个输出字段。字段说明保留 API 返回的英文原文。
输出字段(34)
字段
类型
说明
url
url
URL of comment
comment_id
text
ID of comment
user_posted
text
Username of the user who posted the comment
comment
text
Description of the comment
date_posted
date
Date posted
post_url
url
URL of the post this comment appears at
post_id
text
ID of the post this comment appears at
community_name
text
The name of the community the comment was posted at
community_url
text
URL of the community where the comment was posted at
community_description
text
Description of the community this comment was posted at
community_members_num
text
Number of community members where the comment was posted at
community_rank
object
replies
array
num_upvotes
number
Number of comment’s upvotes
num_replies
number
Number of replies to the comment
days_back
number
Reproduce from Input
is_moderator
boolean
A post has a “MOD” icon - this means it was posted by a moderator or bot in some cases
is_pinned
boolean
pinned or stickied comment, placed on top of all
has_bot_in_username
boolean
The username has a substring “bot” - This parameter can be an indirect sign of a bot In most cases, but can also occur in common usernames
is_locked
boolean
The post has a “lock” icon - this means that comments are blocked by moderators and no one but them can comment on them. This parameter can be an indirect sign of a bot
is_admin_post
boolean
hidden is labeled as “distinguished admin”
is_archived_post
boolean
Indicates whether the post is archived or not
is_moderator_post
boolean
Specifies if the post is made by a moderator
is_quarantined_post
boolean
Indicates if the post is quarantined
is_not_safe_for_work_post
boolean
Flags whether the post contains content not safe for work
is_eligible_for_content_blocking_post
boolean
Specifies if the post is eligible for content blocking
{"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/reddit/send-first-request","slug":"/cn/products/scrapers/reddit/send-first-request","pageMetadata":{"title":"Reddit Scraper API 端点","description":"使用可复制粘贴的代码示例向每个 Bright Data Reddit 爬虫 API 端点发送同步请求。","sidebarTitle":"端点","href":"/cn/products/scrapers/reddit/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 Reddit 爬虫 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,CodeGroup,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(!CodeGroup)_missingMdxReference(`CodeGroup`,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 Reddit 爬虫 API 端点发送同步请求。完成后,你将拥有收集帖子、发现帖子和收集评论的可用示例。`}),`\n`,_jsx(Heading,{level:`2`,id:`前提条件`,children:`前提条件`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`一个带有有效 API 密钥的 `,_jsx(_components.a,{href:`https://www.bright.cn/products/web-scraper/reddit?hs_signup=1\u0026utm_source=docs`,children:`Bright Data 账户`})]}),`\n`,_jsxs(_components.li,{children:[`已完成 `,_jsx(_components.a,{href:`/cn/products/scrapers/reddit/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.reddit.com/...\"}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`端点之间唯一变化的是 `,_jsx(_components.code,{children:`dataset_id`}),` 和输入形式。`]}),`\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:`帖子-—-按-url-收集`,children:`帖子 — 按 URL 收集`}),`\n`,_jsx(_components.p,{children:`通过 URL 爬取特定 Reddit 帖子。`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lvz8ah06191smkebj4`})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,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_lvz8ah06191smkebj4\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.reddit.com/r/learnpython/comments/1w8chn8/found_a_for_loop_and_cant_find_an_explanation_can/\"}]'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`13`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.brightdata.com/datasets/v3/scrape\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dataset_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gd_lvz8ah06191smkebj4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.reddit.com/r/learnpython/comments/1w8chn8/found_a_for_loop_and_cant_find_an_explanation_can/\"`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`16`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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_lvz8ah06191smkebj4\u0026format=json\"`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.reddit.com/r/learnpython/comments/1w8chn8/found_a_for_loop_and_cant_find_an_explanation_can/\"`}),_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`,_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`你应该看到 `,_jsx(_components.code,{children:`200`}),` 响应。处理时间取决于目标网站状况和爬虫负载。`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/cn/api-reference/scrapers/social-media-apis/reddit#collect-by-url`,children:`完整帖子 — 按 URL 收集模式`})}),`\n`,_jsx(Heading,{level:`3`,id:`reddit-帖子抓取器返回哪些输出字段?`,children:`Reddit 帖子抓取器返回哪些输出字段?`}),`\n`,_jsxs(_components.p,{children:[`Reddit 帖子抓取器(`,_jsx(_components.code,{children:`gd_lvz8ah06191smkebj4`}),`,`,_jsx(_components.code,{children:`collect_by_url`}),`)返回 32 个输出字段。字段说明保留 API 返回的英文原文。`]}),`\n`,_jsx(Accordion,{title:`输出字段(32)`,id:`32`,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:`post_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Post ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL of the post`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_posted`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Username of the post creator`})]}),_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 post`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Post text description`})]}),_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`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date_posted`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Post publication date`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_name`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Name of the community`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`num_upvotes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of upvotes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`photos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`URLs of attached photos`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`videos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`URLs of attached videos`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tag`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The name of the tag`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`related_posts`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Related posts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`comments`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Comments of the post`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL of the community`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Description of the community`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_members_num`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of community members`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_rank`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Community ranked`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_karma`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`post_karma`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bio_description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`bio_description`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`embedded_links`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`embedded_links`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description_markdown`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Post content with original line breaks and Markdown formatting`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subreddit_icon_image`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`Subreddit icon image`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`author_icon`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`Author icon link`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`posting user unique id`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`archived`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`archived`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_rules`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of subreddit rules as displayed on the sidebar/about page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`weekly_visitors`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Unique users who visited the subreddit in the past 7 days`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`weekly_contributions`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Total posts and comments in the subreddit in the past 7 days`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_created_date`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Date the subreddit was created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_type`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Subreddit access type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`locked_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicator if the post is locked and new comments cannot be posted.`})]})]})]})}),`\n`,_jsxs(_components.p,{children:[`包含输入 schema 的机器可读版本:`,_jsx(_components.a,{href:`/scrapers/gd_lvz8ah06191smkebj4.json`,children:_jsx(_components.code,{children:`/scrapers/gd_lvz8ah06191smkebj4.json`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`帖子-—-按子版块-url-发现`,children:`帖子 — 按子版块 URL 发现`}),`\n`,_jsxs(_components.p,{children:[`爬取来自特定子版块的最近帖子,可选通过 `,_jsx(_components.code,{children:`sort_by`}),` 排序。取值区分大小写并与 Reddit 上的标签一致,例如 `,_jsx(_components.code,{children:`Hot`}),`;小写 `,_jsx(_components.code,{children:`hot`}),` 会被校验错误拒绝。`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lvz8ah06191smkebj4`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`发现端点最好通过 `,_jsx(_components.a,{href:`/cn/products/scrapers/scrapers-library/async-requests`,children:_jsx(_components.code,{children:`/trigger`})}),` 异步使用,因为它们可能返回许多结果。下面的同步示例仅用于快速测试。`]})}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# limit_per_input 限制每个输入返回的记录数`})}),`\n`,_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_lvz8ah06191smkebj4\u0026format=json\u0026type=discover_new\u0026discover_by=subreddit_url\"`}),_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:` '{\"input\": [{\"url\": \"https://www.reddit.com/r/learnpython/\", \"sort_by\": \"Hot\"}], \"limit_per_input\": 10}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`22`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.brightdata.com/datasets/v3/scrape\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dataset_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gd_lvz8ah06191smkebj4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"discover_new\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"discover_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subreddit_url\"`}),_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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # limit_per_input 限制每个输入返回的记录数`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.reddit.com/r/learnpython/\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sort_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"limit_per_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`18`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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_lvz8ah06191smkebj4\u0026format=json\u0026type=discover_new\u0026discover_by=subreddit_url\"`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // limit_per_input 限制每个输入返回的记录数`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.reddit.com/r/learnpython/\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sort_by:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limit_per_input:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10`}),_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`,_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_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/reddit#discover-by-subreddit-url`,children:`完整按子版块 URL 发现模式`})}),`\n`,_jsx(Heading,{level:`2`,id:`帖子-—-按关键词发现`,children:`帖子 — 按关键词发现`}),`\n`,_jsx(_components.p,{children:`查找匹配搜索词的 Reddit 帖子,按日期过滤。`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lvz8ah06191smkebj4`})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# limit_per_input 限制每个输入返回的记录数`})}),`\n`,_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_lvz8ah06191smkebj4\u0026format=json\u0026type=discover_new\u0026discover_by=keyword\"`}),_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:` '{\"input\": [{\"keyword\": \"machine learning\", \"date\": \"Past week\", \"num_of_posts\": 20}], \"limit_per_input\": 10}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`22`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.brightdata.com/datasets/v3/scrape\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dataset_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gd_lvz8ah06191smkebj4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"discover_new\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"discover_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"keyword\"`}),_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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # limit_per_input 限制每个输入返回的记录数`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"keyword\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"machine learning\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Past week\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"num_of_posts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"limit_per_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`18`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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_lvz8ah06191smkebj4\u0026format=json\u0026type=discover_new\u0026discover_by=keyword\"`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // limit_per_input 限制每个输入返回的记录数`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`keyword:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"machine learning\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`date:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Past week\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`num_of_posts:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limit_per_input:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10`}),_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`,_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_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/reddit#discover-by-keywords`,children:`完整按关键词发现模式`})}),`\n`,_jsx(Heading,{level:`2`,id:`评论-—-按-url-收集`,children:`评论 — 按 URL 收集`}),`\n`,_jsx(_components.p,{children:`爬取来自 Reddit 帖子或特定评论线程的所有评论,可选按年龄过滤。`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`数据集 ID:`}),` `,_jsx(_components.code,{children:`gd_lvzdpsdlw09j6t702`})]}),`\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_lvzdpsdlw09j6t702\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.reddit.com/r/learnpython/comments/1w8chn8/found_a_for_loop_and_cant_find_an_explanation_can/\", \"days_back\": 7}]'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/cn/api-reference/scrapers/social-media-apis/reddit#comments-api`,children:`完整评论 — 按 URL 收集模式`})}),`\n`,_jsx(Heading,{level:`3`,id:`reddit-评论抓取器返回哪些输出字段?`,children:`Reddit 评论抓取器返回哪些输出字段?`}),`\n`,_jsxs(_components.p,{children:[`Reddit 评论抓取器(`,_jsx(_components.code,{children:`gd_lvzdpsdlw09j6t702`}),`,`,_jsx(_components.code,{children:`collect_by_url`}),`)返回 34 个输出字段。字段说明保留 API 返回的英文原文。`]}),`\n`,_jsx(Accordion,{title:`输出字段(34)`,id:`34`,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 of comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`comment_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`ID of comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_posted`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Username of the user who posted the comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`comment`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Description of the comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date_posted`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Date posted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_url`})}),_jsx(_components.td,{children:`url`}),_jsx(_components.td,{children:`URL of the post this comment appears at`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`ID of the post this comment appears at`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_name`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`The name of the community the comment was posted at`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_url`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`URL of the community where the comment was posted at`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Description of the community this comment was posted at`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_members_num`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Number of community members where the comment was posted at`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`community_rank`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`replies`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`num_upvotes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of comment’s upvotes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`num_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:`days_back`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Reproduce from Input`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_moderator`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`A post has a “MOD” icon - this means it was posted by a moderator or bot in some cases`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_pinned`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`pinned or stickied comment, placed on top of all`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`has_bot_in_username`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`The username has a substring “bot” - This parameter can be an indirect sign of a bot In most cases, but can also occur in common usernames`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_locked`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`The post has a “lock” icon - this means that comments are blocked by moderators and no one but them can comment on them. This parameter can be an indirect sign of a bot`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_admin_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`hidden is labeled as “distinguished admin”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_archived_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the post is archived or not`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_moderator_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Specifies if the post is made by a moderator`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_quarantined_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates if the post is quarantined`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_not_safe_for_work_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Flags whether the post contains content not safe for work`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_eligible_for_content_blocking_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Specifies if the post is eligible for content blocking`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_promoted_post`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates if the post is promoted content`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_language`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Language in which the post is written`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_state`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Current state/status of the post`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_type`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Type or category of the post`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`images`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Images from the comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parent_comment_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`root_comment_id`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{children:`Links all replies to the original root comment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`videos`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Video and GIF URLs`})]})]})]})}),`\n`,_jsxs(_components.p,{children:[`包含输入 schema 的机器可读版本:`,_jsx(_components.a,{href:`/scrapers/gd_lvzdpsdlw09j6t702.json`,children:_jsx(_components.code,{children:`/scrapers/gd_lvzdpsdlw09j6t702.json`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`相关内容`,children:`相关内容`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`异步批量请求`,icon:`layer-group`,href:`/cn/products/scrapers/scrapers-library/async-requests`,children:_jsx(_components.p,{children:`在单个异步请求中爬取数千个帖子或运行关键词发现任务。`})}),_jsx(Card,{title:`API 参考`,icon:`code`,href:`/cn/api-reference/scrapers/social-media-apis/reddit`,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":"Reddit Scraper API 端点","description":"使用可复制粘贴的代码示例向每个 Bright Data Reddit 爬虫 API 端点发送同步请求。","sidebarTitle":"端点","href":"/cn/products/scrapers/reddit/send-first-request"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"前提条件","slug":"前提条件","depth":2,"children":[]},{"title":"请求结构","slug":"请求结构","depth":2,"children":[]},{"title":"帖子 — 按 URL 收集","slug":"帖子-—-按-url-收集","depth":2,"children":[{"title":"Reddit 帖子抓取器返回哪些输出字段?","slug":"reddit-帖子抓取器返回哪些输出字段?","depth":3,"children":[]}]},{"title":"帖子 — 按子版块 URL 发现","slug":"帖子-—-按子版块-url-发现","depth":2,"children":[]},{"title":"帖子 — 按关键词发现","slug":"帖子-—-按关键词发现","depth":2,"children":[]},{"title":"评论 — 按 URL 收集","slug":"评论-—-按-url-收集","depth":2,"children":[{"title":"Reddit 评论抓取器返回哪些输出字段?","slug":"reddit-评论抓取器返回哪些输出字段?","depth":3,"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":"Reddit Scraper API 端点 - Bright Data Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/products/scrapers/reddit/send-first-request","matchLevel":1},"cn":{"href":"/cn/products/scrapers/reddit/send-first-request","matchLevel":0}}},"lastModified":"2026-11-13T04:13:53.046Z","originalFileLocation":"cn/products/scrapers/reddit/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 Reddit 爬虫 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=\"Reddit Scraper API 端点 - Bright Data Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"使用可复制粘贴的代码示例向每个 Bright Data Reddit 爬虫 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/reddit/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=Reddit\u0026amp;title=Reddit+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%90%91%E6%AF%8F%E4%B8%AA+Bright+Data+Reddit+%E7%88%AC%E8%99%AB+API+%E7%AB%AF%E7%82%B9%E5%8F%91%E9%80%81%E5%90%8C%E6%AD%A5%E8%AF%B7%E6%B1%82%E3%80%82\u0026amp;theme=7da10763b4cc41bb49d4e8a2\u0026amp;signature=063c0d350447ee0b667d01247531dca7c9b5f26e2b8f928884b777288cbf601d\">\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=\"Reddit Scraper API 端点 - Bright Data Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"使用可复制粘贴的代码示例向每个 Bright Data Reddit 爬虫 API 端点发送同步请求。\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://brightdata.mintlify.site/_mintlify/api/og/v2?division=Reddit\u0026amp;title=Reddit+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%90%91%E6%AF%8F%E4%B8%AA+Bright+Data+Reddit+%E7%88%AC%E8%99%AB+API+%E7%AB%AF%E7%82%B9%E5%8F%91%E9%80%81%E5%90%8C%E6%AD%A5%E8%AF%B7%E6%B1%82%E3%80%82\u0026amp;theme=7da10763b4cc41bb49d4e8a2\u0026amp;signature=063c0d350447ee0b667d01247531dca7c9b5f26e2b8f928884b777288cbf601d\">\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/reddit/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/reddit/send-first-request.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.brightdata.com/products/scrapers/reddit/send-first-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.brightdata.com/products/scrapers/reddit/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/reddit/send-first-request#webpage\",\"url\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request\",\"name\":\"Reddit Scraper API 端点\",\"description\":\"使用可复制粘贴的代码示例向每个 Bright Data Reddit 爬虫 API 端点发送同步请求。\",\"dateModified\":\"2026-11-13T04:13:53.046Z\",\"isPartOf\":{\"@id\":\"https://docs.brightdata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/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\":\"Reddit\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/introduction\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Reddit Scraper API 端点\",\"item\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request#article\",\"headline\":\"Reddit Scraper API 端点\",\"name\":\"Reddit Scraper API 端点\",\"description\":\"使用可复制粘贴的代码示例向每个 Bright Data Reddit 爬虫 API 端点发送同步请求。\",\"url\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brightdata.com/cn/products/scrapers/reddit/send-first-request#webpage\"},\"dateModified\":\"2026-11-13T04:13:53.046Z\",\"publisher\":{\"@id\":\"https://docs.brightdata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.brightdata.com#website\"}}]}\u003c/script>","agentPointerHref":"/cn/products/scrapers/reddit/send-first-request.md","siteName":"Bright Data Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/products/scrapers/reddit/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 爬虫快速入门","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","sidebarTitle":"介绍","href":"/cn/products/scrapers/reddit/introduction"},{"title":"Reddit 爬虫快速开始","description":"在 5 分钟内设置 Bright Data Reddit 爬虫 API 并收集你的第一个帖子。","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","description":"使用 Bright Data 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":"Reddit Scraper API 端点 - Bright Data Docs","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}