[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-post-cn-zhuaqu-glassdoor-pinglun-xinzi-2026":3},{"success":4,"payload":5,"related":69,"errors":147},true,{"id":6,"slug":7,"title":8,"excerpt":9,"body_html":10,"meta_title":11,"meta_description":12,"canonical_url":13,"canonical_override":14,"og_title":11,"og_description":15,"og_image_url":16,"faq_json":17,"key_takeaways":30,"allow_index":36,"noindex_google_only":36,"allow_follow":4,"published_at":37,"updated_at":37,"content_updated_at":38,"featured_image_url":39,"featured_image_alt":40,"card_image_url":41,"reading_time_minutes":42,"author":43,"categories":47,"tags":54,"alternates":55,"locale_paths":57,"views":68},149,"zhuaqu-glassdoor-pinglun-xinzi-2026","2026年如何抓取Glassdoor公司评论和薪资数据：BFF GraphQL、DataDome与代理实战","面向HR分析与劳动力市场数据工程师的实战指南：覆盖Glassdoor公开评论与薪资数据的抓取方法、DataDome\u002FCloudflare反爬绕过策略、BFF GraphQL端点调用、以及ProxyHat住宅代理轮换配置。","\u003Cp>\u003Cstrong>法律与合规声明：\u003C\u002Fstrong>本文仅讨论对公开可访问数据的合规采集。在抓取Glassdoor数据之前，你必须仔细阅读并遵守Glassdoor的服务条款（Terms of Service）。在美国，未经授权访问受保护计算机系统可能违反《计算机欺诈和滥用法》（\u003Ca href=\"https:\u002F\u002Fwww.law.cornell.edu\u002Fuscode\u002Ftext\u002F18\u002F1030\" rel=\"noopener noreferrer\">CFAA, 18 U.S.C. § 1030\u003C\u002Fa>）；在欧盟，处理与可识别自然人相关的数据时须遵守《通用数据保护条例》（\u003Ca href=\"https:\u002F\u002Fgdpr.eu\u002F\" rel=\"noopener noreferrer\">GDPR\u003C\u002Fa>）。本文不鼓励、不教授任何绕过登录墙或抓取需认证才能访问的数据的方法。\u003C\u002Fp>\n\n\u003Cp>对于HR分析团队和劳动力市场数据工程师来说，Glassdoor是雇主品牌情报和薪资基准数据的宝库。平台拥有超过\u003Cstrong>1亿条\u003C\u002Fstrong>公司评论和薪资数据点，覆盖全球190多个国家。然而，Glassdoor部署了多层反爬系统——DataDome和Cloudflare Bot Management——使得传统的requests库几乎无法工作。本文将深入讲解2026年如何抓取Glassdoor公司评论和薪资数据，包括BFF GraphQL端点的调用方法、TLS指纹伪装、以及住宅代理轮换策略。\u003C\u002Fp>\n\n\u003Ch2>如何抓取Glassdoor公司评论和薪资数据：技术概览\u003C\u002Fh2>\n\n\u003Cp>Glassdoor的数据访问分为两个层级：\u003Cstrong>公开可访问\u003C\u002Fstrong>和\u003Cstrong>登录墙后\u003C\u002Fstrong>。理解这一边界是合规抓取的前提。\u003C\u002Fp>\n\n\u003Ch3>公开可访问的数据\u003C\u002Fh3>\n\u003Cp>以下内容在未登录状态下可见，URL格式为 \u003Ccode>\u002FReviews\u002F&lt;company&gt;-Reviews-E&lt;id&gt;.htm\u003C\u002Fcode>：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>公司概览页（行业、规模、总部位置）\u003C\u002Fli>\n\u003Cli>截断的评论列表（每页约10条，显示pros\u002Fcons摘要）\u003C\u002Fli>\n\u003Cli>总体评分（ratingOverall）和分项评分\u003C\u002Fli>\n\u003Cli>职位标题和评论日期\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch3>登录墙后的数据（本文不涉及）\u003C\u002Fh3>\n\u003Cp>以下数据需要登录账户才能访问，属于Glassdoor的付费\u002F注册内容：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>完整的薪资明细（base + bonus + stock拆分）\u003C\u002Fli>\n\u003Cli>完整评论正文（超过截断长度的部分）\u003C\u002Fli>\n\u003Cli>面试问题详情\u003C\u002Fli>\n\u003Cli>个人评论者的详细资料\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cblockquote>关键原则：如果你的目标数据需要登录才能看到，你应该使用Glassdoor官方API或数据授权计划，而不是绕过认证。本文的方法仅适用于公开页面和公开API端点返回的数据。\u003C\u002Fblockquote>\n\n\u003Ch2>Glassdoor的反爬技术栈：DataDome + Cloudflare\u003C\u002Fh2>\n\n\u003Cp>Glassdoor使用了至少两层反爬系统，这也是为什么简单的 \u003Ccode>requests.get()\u003C\u002Fcode> 会返回403或CAPTCHA页面的原因。\u003C\u002Fp>\n\n\u003Ch3>第一层：Cloudflare Bot Management\u003C\u002Fh3>\n\u003Cp>Cloudflare在边缘节点执行JS挑战和TLS指纹检测。它会检查客户端的\u003Cstrong>JA3\u002FJA4 TLS指纹\u003C\u002Fstrong>——这是TLS握手期间ClientHello包的特征哈希。Python标准 \u003Ccode>requests\u003C\u002Fcode> 库使用的urllib3底层TLS栈产生的指纹与真实浏览器截然不同，因此在TLS握手阶段就会被拦截，响应延迟通常在50ms以内就被拒绝。了解更多关于Cloudflare Bot Management的技术细节，参见\u003Ca href=\"https:\u002F\u002Fwww.cloudflare.com\u002Fproducts\u002Fbot-management\u002F\" rel=\"noopener noreferrer\">Cloudflare官方文档\u003C\u002Fa>。\u003C\u002Fp>\n\n\u003Ch3>第二层：DataDome\u003C\u002Fh3>\n\u003Cp>通过Cloudflare后，请求进入DataDome的检测层。DataDome使用机器学习模型对以下信号进行评分：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>IP信誉评分（数据中心IP几乎自动标记为高风险）\u003C\u002Fli>\n\u003Cli>浏览器指纹一致性（User-Agent与TLS指纹是否匹配）\u003C\u002Fli>\n\u003Cli>请求模式（速率、路径序列、鼠标行为信号）\u003C\u002Fli>\n\u003Cli>Cookie一致性（datadome cookie是否与IP绑定）\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>DataDome的IP评分系统对数据中心IP段有极高的识别率。这就是为什么住宅代理是抓取Glassdoor的必要条件——住宅IP来自真实ISP分配段，在DataDome的IP信誉库中风险评分较低。详见\u003Ca href=\"https:\u002F\u002Fdatadome.co\u002Fbot-management\u002F\" rel=\"noopener noreferrer\">DataDome官方说明\u003C\u002Fa>。\u003C\u002Fp>\n\n\u003Ch3>解决方案：curl_cffi + 住宅代理\u003C\u002Fh3>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flexiforest\u002Fcurl_cffi\" rel=\"noopener noreferrer\">curl_cffi\u003C\u002Fa> 是一个基于libcurl的Python库，能够模拟Chrome的TLS握手特征。它通过底层调用curl-impersonate项目，使JA3\u002FJA4指纹与真实Chrome浏览器一致，从而绕过Cloudflare的TLS指纹检测。这是抓取Glassdoor的基础工具。\u003C\u002Fp>\n\n\u003Ch2>BFF GraphQL端点：结构化数据的来源\u003C\u002Fh2>\n\n\u003Cp>Glassdoor的前端使用BFF（Backend for Frontend）架构，通过GraphQL端点获取结构化数据。虽然这些端点未公开文档化，但可以通过浏览器开发者工具在网络请求中观察到。\u003C\u002Fp>\n\n\u003Ch3>关键端点\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Ccode>\u002Fgraph\u003C\u002Fcode> — 主GraphQL端点，接受POST请求，返回JSON格式的评论数据\u003C\u002Fli>\n\u003Cli>\u003Ccode>\u002Fbff\u002F\u003C\u002Fcode> — BFF代理层端点，部分请求路径不同但返回类似结构\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch3>必需请求头\u003C\u002Fh3>\n\u003Cp>调用GraphQL端点时，以下请求头是必需的：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>gd-csrf-token\u003C\u002Fcode> — CSRF令牌，可从页面HTML中的 \u003Ccode>&lt;meta&gt;\u003C\u002Fcode> 标签或内联JS中提取\u003C\u002Fli>\n\u003Cli>\u003Ccode>Content-Type: application\u002Fjson\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>有效的 \u003Ccode>datadome\u003C\u002Fcode> cookie（通过初始页面访问获取）\u003C\u002Fli>\n\u003Cli>与浏览器一致的 \u003Ccode>User-Agent\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>典型的GraphQL查询结构如下（仅示例公开评论字段）：\u003C\u002Fp>\n\n\u003Cpre>\u003Ccode>query GetReviews($employerId: ID!, $cursor: String) {\n  employerReviews(employerId: $employerId, after: $cursor) {\n    edges {\n      node {\n        ratingOverall\n        pros\n        cons\n        jobTitle {\n          name\n        }\n        reviewDateTime\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}\u003C\u002Fcode>\u003C\u002Fpre>\n\n\u003Ch2>实战：Python抓取Glassdoor评论的完整示例\u003C\u002Fh2>\n\n\u003Cp>以下示例展示如何通过ProxyHat住宅代理和BFF GraphQL端点抓取公开评论数据。代码使用curl_cffi进行TLS伪装，通过ProxyHat网关轮换IP。\u003C\u002Fp>\n\n\u003Ch3>步骤1：安装依赖\u003C\u002Fh3>\n\u003Cpre>\u003Ccode>pip install curl_cffi\u003C\u002Fcode>\u003C\u002Fpre>\n\n\u003Ch3>步骤2：通过ProxyHat住宅代理调用GraphQL端点\u003C\u002Fh3>\n\u003Cpre>\u003Ccode>import json\nimport time\nimport re\nfrom curl_cffi import requests\n\n# ProxyHat 住宅代理配置\nPROXY_URL = &quot;http:\u002F\u002Fuser-country-US-sid-glassdoor1:YOUR_PASSWORD@gate.proxyhat.com:8080&quot;\n\nHEADERS = {\n    &quot;User-Agent&quot;: &quot;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) &quot;\n                 &quot;AppleWebKit\u002F537.36 (KHTML, like Gecko) &quot;\n                 &quot;Chrome\u002F131.0.0.0 Safari\u002F537.36&quot;,\n    &quot;Content-Type&quot;: &quot;application\u002Fjson&quot;,\n    &quot;Accept&quot;: &quot;application\u002Fjson&quot;,\n}\n\nEMPLOYER_ID = &quot;4138&quot;  # 示例：某公司ID\n\n# Step 1: 访问公开评论页，获取 csrf token 和 datadome cookie\nreview_url = f&quot;https:\u002F\u002Fwww.glassdoor.com\u002FReviews\u002Fexample-company-Reviews-E{EMPLOYER_ID}.htm&quot;\n\nsession = requests.Session(impersonate=&quot;chrome&quot;)\nresp = session.get(review_url, proxies={&quot;https&quot;: PROXY_URL, &quot;http&quot;: PROXY_URL}, timeout=30)\n\nif resp.status_code != 200:\n    print(f&quot;初始页面请求失败: {resp.status_code}&quot;)\n    exit(1)\n\n# 从HTML中提取 gd-csrf-token\ncsrf_match = re.search(r&apos;gd-csrf-token[&quot;\\&apos;]?\\s*[:=]\\s*[&quot;\\&apos;]?([a-f0-9-]+)&apos;, resp.text)\nif not csrf_match:\n    # 备选：从meta标签提取\n    csrf_match = re.search(r&apos;name=&quot;csrf&quot;\\s+content=&quot;([^&quot;]+)&quot;&apos;, resp.text)\n\ncsrf_token = csrf_match.group(1) if csrf_match else &quot;&quot;\nprint(f&quot;CSRF Token: {csrf_token[:8]}...&quot;)\n\n# Step 2: 调用 BFF GraphQL 端点获取结构化评论\ngraphql_url = &quot;https:\u002F\u002Fwww.glassdoor.com\u002Fgraph&quot;\nquery = &quot;&quot;&quot;\nquery GetReviews($employerId: ID!, $cursor: String) {\n  employerReviews(employerId: $employerId, after: $cursor, first: 10) {\n    edges {\n      node {\n        ratingOverall\n        pros\n        cons\n        jobTitle { name }\n        reviewDateTime\n      }\n    }\n    pageInfo { endCursor hasNextPage }\n  }\n}\n&quot;&quot;&quot;\n\npayload = {\n    &quot;query&quot;: query,\n    &quot;variables&quot;: {&quot;employerId&quot;: EMPLOYER_ID, &quot;cursor&quot;: None},\n    &quot;operationName&quot;: &quot;GetReviews&quot;,\n}\n\nheaders = {**HEADERS, &quot;gd-csrf-token&quot;: csrf_token}\n\nresp = session.post(\n    graphql_url,\n    json=payload,\n    headers=headers,\n    proxies={&quot;https&quot;: PROXY_URL, &quot;http&quot;: PROXY_URL},\n    timeout=30,\n)\n\ndata = resp.json()\nreviews = data.get(&quot;data&quot;, {}).get(&quot;employerReviews&quot;, {})\n\nfor edge in reviews.get(&quot;edges&quot;, []):\n    node = edge[&quot;node&quot;]\n    print(f&quot;评分: {node[&apos;ratingOverall&apos;]} | 职位: {node[&apos;jobTitle&apos;][&apos;name&apos;]}&quot;)\n    print(f&quot;  优点: {node[&apos;pros&apos;][:80]}...&quot;)\n    print(f&quot;  缺点: {node[&apos;cons&apos;][:80]}...&quot;)\n    print(f&quot;  日期: {node[&apos;reviewDateTime&apos;]}&quot;)\n    print(&quot;---&quot;)\n\npage_info = reviews.get(&quot;pageInfo&quot;, {})\nprint(f&quot;下一页游标: {page_info.get(&apos;endCursor&apos;)}&quot;)\nprint(f&quot;是否有更多: {page_info.get(&apos;hasNextPage&apos;)}&quot;)\u003C\u002Fcode>\u003C\u002Fpre>\n\n\u003Ch3>Node.js 示例：使用 SOCKS5 代理\u003C\u002Fh3>\n\u003Cpre>\u003Ccode>const { SOCKSProxyAgent } = require(&apos;socks-proxy-agent&apos;);\nconst fetch = require(&apos;node-fetch&apos;);\n\nconst proxyUrl = &apos;socks5:\u002F\u002Fuser-country-US-sid-glassdoor1:YOUR_PASSWORD@gate.proxyhat.com:1080&apos;;\nconst agent = new SOCKSProxyAgent(proxyUrl);\n\nasync function fetchReviews(employerId, cursor = null) {\n  const query = `\n    query GetReviews($employerId: ID!, $cursor: String) {\n      employerReviews(employerId: $employerId, after: $cursor, first: 10) {\n        edges { node { ratingOverall pros cons jobTitle { name } } }\n        pageInfo { endCursor hasNextPage }\n      }\n    }`;\n\n  const resp = await fetch(&apos;https:\u002F\u002Fwww.glassdoor.com\u002Fgraph&apos;, {\n    method: &apos;POST&apos;,\n    agent,\n    headers: {\n      &apos;Content-Type&apos;: &apos;application\u002Fjson&apos;,\n      &apos;gd-csrf-token&apos;: process.env.GD_CSRF_TOKEN,\n      &apos;User-Agent&apos;: &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n    },\n    body: JSON.stringify({\n      query,\n      variables: { employerId, cursor },\n      operationName: &apos;GetReviews&apos;,\n    }),\n  });\n\n  return resp.json();\n}\n\nfetchReviews(&apos;4138&apos;).then(console.log);\u003C\u002Fcode>\u003C\u002Fpre>\n\n\u003Ch2>分页、粘性会话与速率控制\u003C\u002Fh2>\n\n\u003Ch3>游标分页\u003C\u002Fh3>\n\u003Cp>Glassdoor的GraphQL使用Relay风格的游标分页。每次响应中的 \u003Ccode>pageInfo.endCursor\u003C\u002Fcode> 是下一页的游标值，将其作为下一次请求的 \u003Ccode>after\u003C\u002Fcode> 参数传入即可。当 \u003Ccode>hasNextPage\u003C\u002Fcode> 为 \u003Ccode>false\u003C\u002Fcode> 时，分页结束。\u003C\u002Fp>\n\n\u003Ch3>粘性会话（Sticky Session）\u003C\u002Fh3>\n\u003Cp>DataDome的 \u003Ccode>datadome\u003C\u002Fcode> cookie与IP地址绑定。如果在获取cookie后切换IP，DataDome会立即失效并要求重新验证。因此，在同一个公司的完整抓取流程中，必须使用粘性会话保持同一出口IP。\u003C\u002Fp>\n\n\u003Cp>在ProxyHat中，通过在用户名中添加 \u003Ccode>-sid-\u003C\u002Fcode> 标志实现粘性会话：\u003C\u002Fp>\n\u003Cpre>\u003Ccode># 同一会话保持同一IP\nproxy_a = &quot;http:\u002F\u002Fuser-country-US-sid-companyA123:PASSWORD@gate.proxyhat.com:8080&quot;\nproxy_b = &quot;http:\u002F\u002Fuser-country-US-sid-companyB456:PASSWORD@gate.proxyhat.com:8080&quot;\n# companyA123 和 companyB456 是不同的会话ID，分配不同IP\u003C\u002Fcode>\u003C\u002Fpre>\n\n\u003Ch3>请求节奏与重试逻辑\u003C\u002Fh3>\n\u003Cp>建议的请求间隔为3-5秒每次请求，以模拟人类浏览行为。以下是一个带重试逻辑的分页循环示例：\u003C\u002Fp>\n\n\u003Cpre>\u003Ccode>import time\nimport random\n\ndef scrape_all_reviews(session, proxy_url, employer_id, csrf_token, max_pages=50):\n    all_reviews = []\n    cursor = None\n    \n    for page in range(max_pages):\n        payload = {\n            &quot;query&quot;: query,\n            &quot;variables&quot;: {&quot;employerId&quot;: employer_id, &quot;cursor&quot;: cursor, &quot;first&quot;: 10},\n            &quot;operationName&quot;: &quot;GetReviews&quot;,\n        }\n        headers = {**HEADERS, &quot;gd-csrf-token&quot;: csrf_token}\n        \n        for attempt in range(3):\n            try:\n                resp = session.post(\n                    &quot;https:\u002F\u002Fwww.glassdoor.com\u002Fgraph&quot;,\n                    json=payload,\n                    headers=headers,\n                    proxies={&quot;https&quot;: proxy_url, &quot;http&quot;: proxy_url},\n                    timeout=30,\n                )\n                \n                if resp.status_code == 200:\n                    data = resp.json()\n                    reviews = data[&quot;data&quot;][&quot;employerReviews&quot;]\n                    all_reviews.extend([e[&quot;node&quot;] for e in reviews[&quot;edges&quot;]])\n                    \n                    if not reviews[&quot;pageInfo&quot;][&quot;hasNextPage&quot;]:\n                        return all_reviews  # 分页结束\n                    \n                    cursor = reviews[&quot;pageInfo&quot;][&quot;endCursor&quot;]\n                    break  # 成功，跳出重试循环\n                \n                elif resp.status_code == 403:\n                    print(f&quot;第{page}页被拦截，尝试{attempt+1}\u002F3&quot;)\n                    time.sleep(10 * (attempt + 1))  # 指数退避\n                    continue\n                \n            except Exception as e:\n                print(f&quot;请求异常: {e}&quot;)\n                time.sleep(5 * (attempt + 1))\n        else:\n            print(f&quot;第{page}页连续3次失败，终止&quot;)\n            break\n        \n        # 节奏控制：3-5秒随机延迟\n        time.sleep(random.uniform(3, 5))\n    \n    return all_reviews\u003C\u002Fcode>\u003C\u002Fpre>\n\n\u003Ch2>常见错误与边界情况\u003C\u002Fh2>\n\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\u003Cth>问题\u003C\u002Fth>\u003Cth>原因\u003C\u002Fth>\u003Cth>解决方案\u003C\u002Fth>\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\u003Ctd>403 Forbidden\u003C\u002Ftd>\u003Ctd>DataDome IP评分过高或TLS指纹不匹配\u003C\u002Ftd>\u003Ctd>切换为住宅代理 + 确认curl_cffi的impersonate=\"chrome\"生效\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>400 Bad Request\u003C\u002Ftd>\u003Ctd>gd-csrf-token缺失或过期\u003C\u002Ftd>\u003Ctd>重新访问评论页获取新token\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>空响应\u002F超时\u003C\u002Ftd>\u003Ctd>出口IP被临时封锁\u003C\u002Ftd>\u003Ctd>更换session ID获取新IP，等待60秒后重试\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>CAPTCHA页面\u003C\u002Ftd>\u003Ctd>请求频率过高触发人机验证\u003C\u002Ftd>\u003Ctd>降低请求速率至每5秒1次，使用粘性会话减少IP切换\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>GraphQL schema错误\u003C\u002Ftd>\u003Ctd>字段名变更或端点结构调整\u003C\u002Ftd>\u003Ctd>通过浏览器DevTools重新检查最新查询结构\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\n\u003Ch2>ProxyHat配置与最佳实践\u003C\u002Fh2>\n\n\u003Cp>ProxyHat提供住宅和移动代理（数据中心代理即将推出）。对于Glassdoor抓取，住宅代理是唯一推荐类型，因为DataDome对数据中心IP的拦截率极高。\u003C\u002Fp>\n\n\u003Ch3>连接参数\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>HTTP网关： \u003Ccode>gate.proxyhat.com:8080\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>SOCKS5网关： \u003Ccode>gate.proxyhat.com:1080\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>国家定位： \u003Ccode>user-country-US:password@gate.proxyhat.com:8080\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>城市定位： \u003Ccode>user-country-US-region-california-city-san_francisco:password@gate.proxyhat.com:8080\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>粘性会话： \u003Ccode>user-sid-myID123:password@gate.proxyhat.com:8080\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>查看完整代理位置列表请访问 \u003Ca href=\"\u002Fcn\u002Flocations\">ProxyHat代理位置\u003C\u002Fa>，了解定价方案参见 \u003Ca href=\"\u002Fcn\u002Fpricing\">ProxyHat定价\u003C\u002Fa>。更多关于 \u003Ca href=\"\u002Fcn\u002Fuse-cases\u002Fweb-scraping\">网页抓取用例\u003C\u002Fa> 和 \u003Ca href=\"\u002Fcn\u002Fuse-cases\u002Fserp-tracking\">SERP追踪\u003C\u002Fa> 的技术细节可参考我们的用例文档。完整API文档见 \u003Ca href=\"https:\u002F\u002Fdocs.proxyhat.com\u002F\" rel=\"noopener noreferrer\">ProxyHat官方文档\u003C\u002Fa>。\u003C\u002Fp>\n\n\u003Ch3>并发与性能建议\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>单会话建议保持≤5个并发请求\u003C\u002Fli>\n\u003Cli>多公司并行抓取时，为每个公司分配独立的session ID\u003C\u002Fli>\n\u003Cli>监控成功率指标，低于90%时降低并发或增加延迟\u003C\u002Fli>\n\u003Cli>目标延迟控制在200-500ms范围内（代理转发延迟）\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch2>伦理抓取与何时使用官方API\u003C\u002Fh2>\n\n\u003Ch3>数据采集原则\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>仅采集聚合、非个人数据：公司评分分布、薪资范围统计、评论趋势——而非单条评论中的个人身份信息\u003C\u002Fli>\n\u003Cli>不抓取登录墙后数据：完整薪资明细、面试详情等需要认证的内容应通过官方渠道获取\u003C\u002Fli>\n\u003Cli>遵守robots.txt：检查 \u003Ccode>https:\u002F\u002Fwww.glassdoor.com\u002Frobots.txt\u003C\u002Fcode> 并尊重其中的Disallow规则\u003C\u002Fli>\n\u003Cli>GDPR考量：评论中可能包含欧盟用户的个人信息（如评论者职位+公司可间接识别个人）。对欧盟公司数据进行匿名化处理，移除可能关联到特定员工的信息\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch3>何时应该使用官方数据授权\u003C\u002Fh3>\n\u003Cp>以下场景中，Glassdoor的官方数据授权计划是更合适的选择：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>需要大规模、系统性地获取薪资明细数据\u003C\u002Fli>\n\u003Cli>需要将数据用于商业产品或公开报告\u003C\u002Fli>\n\u003Cli>需要历史数据快照或定期数据交付\u003C\u002Fli>\n\u003Cli>团队没有维护反爬绕过基础设施的工程能力\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>官方数据授权虽然成本更高，但提供法律保障、数据质量保证和稳定的交付SLA。对于HR分析团队来说，这通常是总拥有成本更低的选择。\u003C\u002Fp>\n\n","如何抓取Glassdoor公司评论和薪资数据 2026 | ProxyHat","2026年如何抓取Glassdoor公司评论和薪资数据的完整指南：BFF GraphQL端点、DataDome绕过、curl_cffi TLS伪装、ProxyHat住宅代理轮换配置与合规要点。","\u002Fcn\u002Fblog\u002Fzhuaqu-glassdoor-pinglun-xinzi-2026",null,"面向HR数据工程师的Glassdoor抓取实战：BFF GraphQL、DataDome绕过、住宅代理配置与合规要点。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fzhuaqu-glassdoor-pinglun-xinzi-2026-og.webp",[18,21,24,27],{"question":19,"answer":20},"为什么抓取Glassdoor需要使用代理？","Glassdoor部署了DataDome和Cloudflare Bot Management双重反爬系统。DataDome对数据中心IP段的识别率极高，使用数据中心代理几乎无法通过IP信誉评分。住宅代理使用真实ISP分配的IP地址，在DataDome的IP评分系统中风险等级较低，因此是抓取Glassdoor的必要条件。此外，DataDome的datadome cookie与IP绑定，切换IP会导致cookie失效，因此需要使用粘性会话保持同一出口IP。",{"question":22,"answer":23},"哪种代理类型最适合抓取Glassdoor？","住宅代理是抓取Glassdoor的最佳选择。住宅IP来自真实ISP分配段，在DataDome的IP信誉库中风险评分较低，被拦截概率远低于数据中心IP。移动代理也可用但成本更高。数据中心代理几乎不适用于Glassdoor，因为DataDome对已知云服务商IP段（AWS、GCP、Azure等）有自动标记机制。建议使用支持国家\u002F城市级地理定位和粘性会话的住宅代理服务，如ProxyHat的gate.proxyhat.com:8080网关。",{"question":25,"answer":26},"如何避免抓取Glassdoor时被封禁？","避免封禁需要多层策略：使用curl_cffi进行Chrome TLS指纹伪装以绕过Cloudflare的JA3\u002FJA4检测；使用住宅代理而非数据中心IP；通过粘性会话（-sid-xxx-ttl-10m标志）保持datadome cookie有效；控制请求间隔在3-5秒以模拟人类行为；为每个公司分配独立的会话ID避免IP关联；监控成功率指标，低于90%时降低并发或增加延迟；实现指数退避重试逻辑，对403响应等待10-30秒后重试。",{"question":28,"answer":29},"抓取Glassdoor数据是否合法？","合法性取决于具体场景和司法管辖区。在美国，CFAA（18 U.S.C. § 1030）限制未经授权访问受保护计算机系统，但公开可访问页面的数据采集存在法律灰色地带。在欧盟，GDPR适用于处理与可识别自然人相关的数据，即使数据来自公开来源。建议仅采集聚合、非个人数据（如评分分布、薪资范围统计），不抓取登录墙后数据，遵守robots.txt规则，并在需要大规模商业用途时优先考虑Glassdoor的官方数据授权计划。",[31,32,33,34,35],"仅抓取Glassdoor公开数据（如公司概览和截断评论）以遵守CFAA和GDPR，切勿绕过登录墙获取完整薪资或面试详情。","Glassdoor部署了DataDome和Cloudflare双重反爬，需使用curl_cffi库模拟Chrome的TLS指纹以绕过检测。","通过BFF GraphQL端点（\u002Fgraph）获取结构化数据，需在请求头中包含从页面提取的gd-csrf-token和datadome cookie。","必须使用住宅代理，因为数据中心IP会被DataDome拦截，且需通过粘性会话保持IP与cookie绑定。","请求间隔建议控制在3-5秒以模拟人类行为，大规模商业数据需求应优先考虑官方数据授权计划。",false,"2026-07-11T16:04:24+00:00","2026-11-17T09:21:33+00:00","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fzhuaqu-glassdoor-pinglun-xinzi-2026-master.webp","How to Scrape Glassdoor Company Reviews and Salaries in 2026 (BFF GraphQL, DataDome, and Proxies)","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fzhuaqu-glassdoor-pinglun-xinzi-2026-card.webp",11,{"name":44,"slug":45,"bio":46,"avatar_url":14,"website_url":14,"social_links":14},"ProxyHat Team","proxyhat-team","The ProxyHat editorial team covers proxies, web scraping, and data extraction.",[48],{"id":49,"slug":50,"name":51,"description":14,"meta_title":52,"meta_description":53,"parent_id":14},1,"web-scraping","网页抓取","网页抓取指南 | ProxyHat 博客","网页抓取技术、代理策略和数据提取最佳实践。",[],{"en":56,"x-default":56},"\u002Fblog\u002Fscrape-glassdoor-reviews-salaries-2026",{"en":56,"ko":58,"pt":59,"es":60,"de":61,"ja":62,"pl":63,"zh":13,"fr":64,"ru":65,"it":66,"tr":67},"\u002Fko\u002Fblog\u002Fglassdoor-ribyu-yeonbong-scraping-2026","\u002Fpt\u002Fblog\u002Fraspar-reviews-salarios-glassdoor-2026","\u002Fes\u002Fblog\u002Fcomo-scrapear-glassdoor-salarios-2026","\u002Fde\u002Fblog\u002Fglassdoor-bewertungen-gehalter-scrapen-2026","\u002Fja\u002Fblog\u002Fglassdoor-review-salary-scraping-2026","\u002Fpl\u002Fblog\u002Fjak-scrapowac-glassdoor-recenzje-i-wynagrodzenia-2026","\u002Ffr\u002Fblog\u002Fscraper-avis-glassdoor-2026","\u002Fru\u002Fblog\u002Fskrejping-glassdoor-otzyvy-zarplaty-2026","\u002Fit\u002Fblog\u002Fscrapear-recensioni-salari-glassdoor-2026","\u002Ftr\u002Fblog\u002Fglassdoor-yorumlari-ve-maas-verileri-cekme-2026",147,[70,93,115,131],{"id":71,"slug":72,"title":73,"excerpt":74,"featured_image_url":75,"featured_image_alt":76,"card_image_url":77,"og_image_url":78,"published_at":79,"updated_at":80,"content_updated_at":81,"reading_time_minutes":82,"is_featured":36,"indexable":4,"views":83,"author":84,"categories":85,"tags":87},212,"cloudflare-ai-paqu-moren-zhengce","Cloudflare AI 机器人默认设置与 Pay Per Crawl 新变化","Cloudflare 于 2026 年 9 月 15 日修订了 AI 机器人方案。本文说明新默认设置、Disallow AI Training、402 Pay Per Crawl 和 Pay Per Use 对训练爬虫、AI Agent 和内部价格监控分别意味着什么。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fcloudflare-ai-paqu-moren-zhengce-master.webp","Cloudflare AI Bot Defaults and Pay Per Crawl: What Changed in 2026","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fcloudflare-ai-paqu-moren-zhengce-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fcloudflare-ai-paqu-moren-zhengce-og.webp","2026-10-17T09:00:00+00:00","2026-10-17T09:00:25+00:00","2026-10-03T09:41:40+00:00",13,45,{"name":44,"slug":45,"bio":46,"avatar_url":14,"website_url":14,"social_links":14},[86],{"id":49,"slug":50,"name":51,"description":14,"meta_title":52,"meta_description":53,"parent_id":14},[88,89],{"id":49,"slug":50,"name":51},{"id":90,"slug":91,"name":92},16,"anti-bot","反机器人",{"id":94,"slug":95,"title":96,"excerpt":97,"featured_image_url":98,"featured_image_alt":99,"card_image_url":100,"og_image_url":101,"published_at":102,"updated_at":103,"content_updated_at":81,"reading_time_minutes":104,"is_featured":36,"indexable":4,"views":105,"author":106,"categories":107,"tags":109},216,"serpapi-dmca-caijue-wangluo-caiji","SerpApi DMCA 裁决：Reddit 与 Google 两案意味着什么","2026 年 7 月 20 日，Google 诉 SerpApi 的 DMCA 案被驳回；7 月 31 日，Reddit 诉 SerpApi 和 Perplexity 案挺过了驳回动议。本文解释两家法院为何结论不同，以及这对采集团队意味着什么。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fserpapi-dmca-caijue-wangluo-caiji-master.webp","The SerpApi DMCA Rulings: What Reddit's and Google's Cases Mean","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fserpapi-dmca-caijue-wangluo-caiji-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fserpapi-dmca-caijue-wangluo-caiji-og.webp","2026-10-08T09:00:00+00:00","2026-10-08T09:00:31+00:00",12,33,{"name":44,"slug":45,"bio":46,"avatar_url":14,"website_url":14,"social_links":14},[108],{"id":49,"slug":50,"name":51,"description":14,"meta_title":52,"meta_description":53,"parent_id":14},[110,111],{"id":49,"slug":50,"name":51},{"id":112,"slug":113,"name":114},7,"serp","SERP追踪",{"id":116,"slug":117,"title":118,"excerpt":119,"featured_image_url":120,"featured_image_alt":121,"card_image_url":122,"og_image_url":123,"published_at":124,"updated_at":124,"content_updated_at":125,"reading_time_minutes":104,"is_featured":36,"indexable":36,"views":126,"author":127,"categories":128,"tags":130},185,"zhuaqu-pinterest-tuding-2026","如何在2026年抓取Pinterest图钉和看板：开发者完整指南","详解Pinterest内部Resource API端点、住宅代理轮换策略、Python和Node.js代码示例，帮助开发者合法高效地采集公开图钉和看板数据。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fzhuaqu-pinterest-tuding-2026-master.webp","How to Scrape Pinterest Pins and Boards in 2026: A Developer's Guide","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fzhuaqu-pinterest-tuding-2026-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fzhuaqu-pinterest-tuding-2026-og.webp","2026-07-22T10:07:42+00:00","2026-10-03T08:57:46+00:00",132,{"name":44,"slug":45,"bio":46,"avatar_url":14,"website_url":14,"social_links":14},[129],{"id":49,"slug":50,"name":51,"description":14,"meta_title":52,"meta_description":53,"parent_id":14},[],{"id":132,"slug":133,"title":134,"excerpt":135,"featured_image_url":136,"featured_image_alt":137,"card_image_url":138,"og_image_url":139,"published_at":140,"updated_at":140,"content_updated_at":141,"reading_time_minutes":42,"is_featured":36,"indexable":36,"views":142,"author":143,"categories":144,"tags":146},200,"daili-zhushuju-zhuaqu-pinglun-2026","代理如何帮助你抓取评论数据：Trustpilot、G2与Google商家实战指南","通过住宅代理IP轮换和地理定位，从Trustpilot、G2和Google商家页面高效采集公开评论数据，包含Python和Node.js可运行代码示例及合规指南。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fdaili-zhushuju-zhuaqu-pinglun-2026-master.webp","How Proxies Help You Scrape Reviews Data: Trustpilot, G2 & Google Business","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fdaili-zhushuju-zhuaqu-pinglun-2026-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fdaili-zhushuju-zhuaqu-pinglun-2026-og.webp","2026-07-19T10:03:48+00:00","2026-10-03T08:57:49+00:00",139,{"name":44,"slug":45,"bio":46,"avatar_url":14,"website_url":14,"social_links":14},[145],{"id":49,"slug":50,"name":51,"description":14,"meta_title":52,"meta_description":53,"parent_id":14},[],[]]