[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-post-cn-caiji-zhong-chuli-captcha":3},{"success":4,"payload":5,"related":95,"errors":209},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":8,"og_description":12,"og_image_url":15,"faq_json":16,"key_takeaways":47,"allow_index":53,"noindex_google_only":53,"allow_follow":4,"published_at":54,"updated_at":55,"content_updated_at":56,"featured_image_url":57,"featured_image_alt":14,"card_image_url":58,"reading_time_minutes":59,"author":60,"categories":64,"tags":71,"alternates":81,"locale_paths":93,"views":94},42,"caiji-zhong-chuli-captcha","网络爬虫中的CAPTCHA处理","CAPTCHA类型,比解决更加有效的预防策略,以及代理在CAPTCHA避免中的关键作用. 用于检测和路由的代码示例.","\u003Ch2>为什么CAPTCHAs 是史克威尔最大的障碍\u003C\u002Fh2>\u003Cp>CAPTCHA存在以区分人类和bots,它们对此越来越有效. 当您的刮刮器遇到CAPTCHA时,这意味着目标站点已经检测到自动化行为——您的请求频率太高,IP信任度低,或者您的浏览器指纹看起来可疑. 最佳的CAPTCHA战略是预防而不是解决.\u003C\u002Fp>\u003Cp>本指南涵盖了您将遇到的CAPTCHA类型,为什么预防比解决更有效、更便宜,以及代理如何在完全避免CAPTCHA方面发挥关键作用。\u003C\u002Fp>\u003Cblockquote>这篇文章是我们 \u003Ca href=\"\u002Fcn\u002Fblog\u002Fwangluo-caiji-daili-wanzheng-zhinan\">完整网页搜索代理指南\u003C\u002Fa> 丛书。 关于了解探测系统,见 \u003Ca href=\"\u002Fcn\u002Fblog\u002Ffan-jiqi-ren-xitong-ruhe-jiance-daili\">反毒系统如何检测代理\u003C\u002Fa>。 。 。\u003C\u002Fblockquote>\u003Ch2>2026年CAPTCHA类型\u003C\u002Fh2>\u003Ctable>\n\u003Ccaption>2026年CAPTCHA类型\u003C\u002Fcaption>\u003Cthead>\u003Ctr>\u003Cth>类型\u003C\u002Fth>\u003Cth>如何运作\u003C\u002Fth>\u003Cth>绕行困难\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>reCAPTCHA v2(复选框)\u003C\u002Ftd>\u003Ctd>点击“ 我不是机器人” + 可选图像挑战\u003C\u002Ftd>\u003Ctd>中型\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>reCAPTCHA v3(隐形)\u003C\u002Ftd>\u003Ctd>没有用户互动的分数行为 0.0-1.0\u003C\u002Ftd>\u003Ctd>难\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>h Captcha (美国)\u003C\u002Ftd>\u003Ctd>图像选择挑战( 类似于 reCAPTCHA v2)\u003C\u002Ftd>\u003Ctd>中型\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>云浮转弯\u003C\u002Ftd>\u003Ctd>浏览器挑战, 通常是隐形的\u003C\u002Ftd>\u003Ctd>难\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>自定义图像 CAPTCHAs\u003C\u002Ftd>\u003Ctd>特定地点的挑战(扭曲文本、谜题)\u003C\u002Ftd>\u003Ctd>变量\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>工作证明\u003C\u002Ftd>\u003Ctd>浏览器必须计算散列( Cloudflare Under attack)\u003C\u002Ftd>\u003Ctd>中型\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003Ch3>隐形CAPTCHA 真正的威胁\u003C\u002Fh3>\u003Cp>最危险的CAPTCHA是那些你从未见过的。 (原始内容存档于2019-03-03). reCAPTCHA v3 和 \u003Cstrong>云浮转弯\u003C\u002Fstrong> 在背景中运行,分析鼠标运动,滚动行为,打字模式,以及浏览器环境. 它们在不显示任何挑战的情况下分配一个信任分数——如果分数过低,则请求会静默地被阻断或重定向.\u003C\u002Fp>\u003Ch2>预防与解决:为什么预防胜利\u003C\u002Fh2>\u003Ctable>\n\u003Ccaption>预防与解决:为什么预防胜利\u003C\u002Fcaption>\u003Cthead>\u003Ctr>\u003Cth>方针\u003C\u002Fth>\u003Cth>每笔费用\u003C\u002Fth>\u003Cth>速度\u003C\u002Fth>\u003Cth>可靠性\u003C\u002Fth>\u003Cth>可缩放性\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>预防(没有触发CAPTCHA)\u003C\u002Ftd>\u003Ctd>0美元 (单位:美元)\u003C\u002Ftd>\u003Ctd>即时\u003C\u002Ftd>\u003Ctd>最高\u003C\u002Ftd>\u003Ctd>不错\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>CAPTCHA 解决服务\u003C\u002Ftd>\u003Ctd>每1 000美元-3美元\u003C\u002Ftd>\u003Ctd>10-60秒\u003C\u002Ftd>\u003Ctd>85-95% (单位:千美元)\u003C\u002Ftd>\u003Ctd>中调\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>基于AI的自动解析\u003C\u002Ftd>\u003Ctd>每1 000美元2-5美元\u003C\u002Ftd>\u003Ctd>5-30秒\u003C\u002Ftd>\u003Ctd>70%-90%\u003C\u002Ftd>\u003Ctd>有限\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003Cblockquote>在规模上,预防既节省金钱又节省时间。 每天解决10万个CAPTCHA需要100-500美元,并增加休息时间。 防止它们除了适当的代理和请求管理之外,别无其他代价。\u003C\u002Fblockquote>\u003Ch2>预防战略1:使用高质量的住宅代用品\u003C\u002Fh2>\u003Cp>一项最有效的CAPTCHA预防措施是使用信任率高的住宅代管。 住宅IP是由ISP分配给真实家庭的,因此网站无法轻易区分您的请求与真实用户流量.\u003C\u002Fp>\u003Cpre>\u003Ccode>import requests\n# Residential proxy — high trust score, fewer CAPTCHAs\nPROXY = \"http:\u002F\u002FUSERNAME:PASSWORD@gate.proxyhat.com:8080\"\ndef scrape_with_residential(url: str) -> str:\n    \"\"\"Use residential proxies to avoid triggering CAPTCHAs.\"\"\"\n    session = requests.Session()\n    session.proxies = {\"http\": PROXY, \"https\": PROXY}\n    session.headers.update({\n        \"User-Agent\": \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) \"\n                      \"AppleWebKit\u002F537.36 (KHTML, like Gecko) \"\n                      \"Chrome\u002F120.0.0.0 Safari\u002F537.36\",\n        \"Accept\": \"text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,*\u002F*;q=0.8\",\n        \"Accept-Language\": \"en-US,en;q=0.9\",\n        \"Accept-Encoding\": \"gzip, deflate, br\",\n    })\n    resp = session.get(url, timeout=30)\n    return resp.text\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>ProxyHat的住宅池提供来自真实的ISP的IP. \u003Ca href=\"\u002Fcn\u002Flocations\">190多个国家\u003C\u002Fa>,给予每个请求最高的信任分。 见 \u003Ca href=\"\u002Fcn\u002Fblog\u002Fzhuzhai-vs-shujuzhongxin-daili-caiji\">住宅对数据中心\u003C\u002Fa> 详细比较一下\u003C\u002Fp>\u003Ch2>预防战略2:实事求是的要求模式\u003C\u002Fh2>\u003Cp>CAPTCHA经常由机器人行为模式引发,而不仅仅是IP的声誉. 让你的刮刀看起来像人:\u003C\u002Fp>\u003Ch3>Python 执行\u003C\u002Fh3>\u003Cpre>\u003Ccode>import requests\nimport random\nimport time\nPROXY = \"http:\u002F\u002FUSERNAME:PASSWORD@gate.proxyhat.com:8080\"\nUSER_AGENTS = [\n    \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 Chrome\u002F120.0.0.0 Safari\u002F537.36\",\n    \"Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\u002F537.36 Chrome\u002F120.0.0.0 Safari\u002F537.36\",\n    \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko\u002F20100101 Firefox\u002F121.0\",\n    \"Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\u002F605.1.15 Safari\u002F605.1.15\",\n]\nREFERRERS = [\n    \"https:\u002F\u002Fwww.google.com\u002F\",\n    \"https:\u002F\u002Fwww.bing.com\u002F\",\n    \"https:\u002F\u002Fduckduckgo.com\u002F\",\n    None,  # Direct visit\n]\ndef human_like_scrape(urls: list[str]) -> list[str]:\n    \"\"\"Scrape with realistic human behavior patterns.\"\"\"\n    results = []\n    session = requests.Session()\n    session.proxies = {\"http\": PROXY, \"https\": PROXY}\n    for url in urls:\n        # Randomize headers per request\n        headers = {\n            \"User-Agent\": random.choice(USER_AGENTS),\n            \"Accept\": \"text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,*\u002F*;q=0.8\",\n            \"Accept-Language\": \"en-US,en;q=0.9\",\n            \"Accept-Encoding\": \"gzip, deflate, br\",\n            \"Connection\": \"keep-alive\",\n            \"Upgrade-Insecure-Requests\": \"1\",\n        }\n        referrer = random.choice(REFERRERS)\n        if referrer:\n            headers[\"Referer\"] = referrer\n        try:\n            resp = session.get(url, headers=headers, timeout=30)\n            results.append(resp.text)\n        except requests.RequestException:\n            results.append(None)\n        # Human-like delays: 1-5 seconds with occasional longer pauses\n        if random.random() \u003C 0.1:\n            time.sleep(random.uniform(5, 15))  # 10% chance of long pause\n        else:\n            time.sleep(random.uniform(1, 4))\n    return results\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch3>节点.js 执行\u003C\u002Fh3>\u003Cpre>\u003Ccode>const HttpsProxyAgent = require('https-proxy-agent');\nconst fetch = require('node-fetch');\nconst agent = new HttpsProxyAgent('http:\u002F\u002FUSERNAME:PASSWORD@gate.proxyhat.com:8080');\nconst USER_AGENTS = [\n  'Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 Chrome\u002F120.0.0.0 Safari\u002F537.36',\n  'Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\u002F537.36 Chrome\u002F120.0.0.0 Safari\u002F537.36',\n  'Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko\u002F20100101 Firefox\u002F121.0',\n];\nfunction randomDelay() {\n  const isLongPause = Math.random() \u003C 0.1;\n  const ms = isLongPause\n    ? 5000 + Math.random() * 10000\n    : 1000 + Math.random() * 3000;\n  return new Promise(r => setTimeout(r, ms));\n}\nasync function humanLikeScrape(urls) {\n  const results = [];\n  for (const url of urls) {\n    const headers = {\n      'User-Agent': USER_AGENTS[Math.floor(Math.random() * USER_AGENTS.length)],\n      'Accept': 'text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,*\u002F*;q=0.8',\n      'Accept-Language': 'en-US,en;q=0.9',\n    };\n    try {\n      const res = await fetch(url, { agent, headers, timeout: 30000 });\n      results.push(await res.text());\n    } catch {\n      results.push(null);\n    }\n    await randomDelay();\n  }\n  return results;\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>预防战略3:聪明的知识产权轮换\u003C\u002Fh2>\u003Cp>您旋转IP的方式直接影响 CAPTCHA 费率 。 主动旋转(每个请求新IP)实际上可以增加一些站点的CAPTCHA,因为访问同一会话路径的不同IP的一系列请求看起来很可疑.\u003C\u002Fp>\u003Cpre>\u003Ccode>import requests\nimport uuid\ndef create_session_for_site(site_id: str):\n    \"\"\"Create a sticky session that maintains the same IP per site.\n    This avoids the suspicious pattern of different IPs accessing the same flow.\"\"\"\n    session_id = uuid.uuid5(uuid.NAMESPACE_URL, site_id).hex[:8]\n    proxy = f\"http:\u002F\u002FUSERNAME-sid-{session_id}:PASSWORD@gate.proxyhat.com:8080\"\n    session = requests.Session()\n    session.proxies = {\"http\": proxy, \"https\": proxy}\n    return session\n# Same IP for all requests to a specific product section\nsession = create_session_for_site(\"example.com-electronics\")\npage1 = session.get(\"https:\u002F\u002Fexample.com\u002Felectronics?page=1\")\npage2 = session.get(\"https:\u002F\u002Fexample.com\u002Felectronics?page=2\")\npage3 = session.get(\"https:\u002F\u002Fexample.com\u002Felectronics?page=3\")\n# Different IP for a different section\nsession2 = create_session_for_site(\"example.com-clothing\")\nclothes1 = session2.get(\"https:\u002F\u002Fexample.com\u002Fclothing?page=1\")\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>关于更多的旋转模式,见 \u003Ca href=\"\u002Fcn\u002Fblog\u002Fdaguimo-caiji-daili-lunhuan-celue\">大型碎屑代用旋转策略\u003C\u002Fa>。 。 。\u003C\u002Fp>\u003Ch2>预防战略4:尊重率限制\u003C\u002Fh2>\u003Cp>CAPTCHA往往是利率限制之后的升级. 如果正确处理速率限制信号,则很少看到CAPTCHAs:\u003C\u002Fp>\u003Cpre>\u003Ccode>import requests\nimport time\nPROXY = \"http:\u002F\u002FUSERNAME:PASSWORD@gate.proxyhat.com:8080\"\nCAPTCHA_INDICATORS = [\n    \"captcha\",\n    \"recaptcha\",\n    \"hcaptcha\",\n    \"challenge\",\n    \"verify you are human\",\n    \"please complete the security check\",\n]\ndef is_captcha_page(html: str) -> bool:\n    \"\"\"Detect if the response is a CAPTCHA challenge page.\"\"\"\n    html_lower = html.lower()\n    return any(indicator in html_lower for indicator in CAPTCHA_INDICATORS)\ndef scrape_with_captcha_detection(urls: list[str]) -> list[dict]:\n    results = []\n    session = requests.Session()\n    session.proxies = {\"http\": PROXY, \"https\": PROXY}\n    captcha_count = 0\n    backoff = 2.0\n    for url in urls:\n        try:\n            resp = session.get(url, timeout=30)\n            if resp.status_code == 200 and not is_captcha_page(resp.text):\n                results.append({\"url\": url, \"status\": \"success\", \"body\": resp.text})\n                captcha_count = 0\n                backoff = max(backoff * 0.9, 1.0)  # Reduce backoff on success\n            elif is_captcha_page(resp.text) or resp.status_code == 403:\n                captcha_count += 1\n                results.append({\"url\": url, \"status\": \"captcha\"})\n                if captcha_count >= 3:\n                    # Too many CAPTCHAs — increase backoff significantly\n                    backoff = min(backoff * 3, 60)\n                    print(f\"CAPTCHA streak: {captcha_count}. Backing off to {backoff:.0f}s\")\n                else:\n                    backoff = min(backoff * 1.5, 30)\n        except requests.RequestException as e:\n            results.append({\"url\": url, \"status\": \"error\", \"error\": str(e)})\n        time.sleep(backoff)\n    return results\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>综合税率限制战略见 \u003Ca href=\"\u002Fcn\u002Fblog\u002Fcaiji-sudu-xianzhi-jiexi\">速率限制解释\u003C\u002Fa>。 。 。\u003C\u002Fp>\u003Ch2>当您必须处理 CAPTCHA : 检测和运行\u003C\u002Fh2>\u003Cp>即使有完美的预防,一些CAPTCHA也是不可避免的. 在您的管道中建立检测功能, 这样您就可以通过 CAPTCHA 页面进行特殊处理 :\u003C\u002Fp>\u003Cpre>\u003Ccode>import requests\nfrom enum import Enum\nPROXY = \"http:\u002F\u002FUSERNAME:PASSWORD@gate.proxyhat.com:8080\"\nclass ResponseType(Enum):\n    SUCCESS = \"success\"\n    CAPTCHA = \"captcha\"\n    BLOCKED = \"blocked\"\n    ERROR = \"error\"\ndef classify_response(resp: requests.Response) -> ResponseType:\n    \"\"\"Classify a response to determine next action.\"\"\"\n    if resp.status_code == 403:\n        return ResponseType.BLOCKED\n    if resp.status_code == 429:\n        return ResponseType.BLOCKED\n    if resp.status_code == 200:\n        html = resp.text.lower()\n        captcha_signals = [\"captcha\", \"recaptcha\", \"hcaptcha\", \"cf-challenge\"]\n        if any(s in html for s in captcha_signals):\n            return ResponseType.CAPTCHA\n        return ResponseType.SUCCESS\n    return ResponseType.ERROR\ndef scrape_with_routing(urls: list[str]) -> dict:\n    \"\"\"Scrape URLs and route based on response classification.\"\"\"\n    session = requests.Session()\n    session.proxies = {\"http\": PROXY, \"https\": PROXY}\n    results = {\"success\": [], \"captcha\": [], \"blocked\": [], \"error\": []}\n    for url in urls:\n        try:\n            resp = session.get(url, timeout=30)\n            response_type = classify_response(resp)\n            results[response_type.value].append(url)\n            if response_type == ResponseType.CAPTCHA:\n                # Route to CAPTCHA queue for manual or service-based solving\n                print(f\"CAPTCHA detected: {url}\")\n            elif response_type == ResponseType.BLOCKED:\n                # Rotate IP and retry\n                print(f\"Blocked: {url}\")\n        except requests.RequestException:\n            results[\"error\"].append(url)\n    print(f\"Success: {len(results['success'])}, \"\n          f\"CAPTCHAs: {len(results['captcha'])}, \"\n          f\"Blocked: {len(results['blocked'])}\")\n    return results\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>CAPTCHA 预防清单\u003C\u002Fh2>\u003Cul>\u003Cli>\u003Cstrong>使用住宅代理.\u003C\u002Fstrong> 他们的信用分数最高 引发的CAPTCHA最少. \u003Ca href=\"\u002Fcn\u002Fpricing\">代理哈特住宅代理\u003C\u002Fa> 提供数百万个干净的IP.\u003C\u002Fli>\u003Cli>\u003Cstrong>设定现实的页眉 。\u003C\u002Fstrong> 总是发送用户代理,接受,接受-语言,以及其他标准浏览器头.\u003C\u002Fli>\u003Cli>\u003Cstrong>加上人类般的延迟.\u003C\u002Fstrong> 请求之间随机1-5秒的延迟,偶尔会有较长的暂停.\u003C\u002Fli>\u003Cli>\u003Cstrong>正确维持会话\u003C\u002Fstrong> 通过粘度会话对相关请求使用 cookie 和一致的IP.\u003C\u002Fli>\u003Cli>敬重机器人. txt. (中文(简体) ). 检测机器人.txt违规的站点升级为CAPTCHA更快.\u003C\u002Fli>\u003Cli>监测CAPTCHA的费率。 如果你的CAPTCHA率超过5%, 你的方法中的东西需要修复。\u003C\u002Fli>\u003Cli>避免在高峰时段刮刮。 反机器人系统在高流量期间更具攻击性.\u003C\u002Fli>\u003Cli>正确旋转用户代理 。 使用最近现实的浏览器字符串 。 在同一会话上不要混合移动和桌面 UA 。\u003C\u002Fli>\u003C\u002Ful>\u003Cp>关于您首选语言的代理设置,请参见 \u003Ca href=\"\u002Fcn\u002Fblog\u002Fpython-shiyong-daili\">在 Python 中使用代理\u003C\u002Fa>, (中文). \u003Ca href=\"\u002Fcn\u002Fblog\u002Fnodejs-shiyong-daili\">使用节点中的代理\u003C\u002Fa>,或 \u003Ca href=\"\u002Fcn\u002Fblog\u002Fgo-yuyan-shiyong-daili\">使用 Go 中的代理\u003C\u002Fa>探索 \u003Ca href=\"\u002Fcn\u002Fuse-cases\u002Fweb-scraping\">网页搜索的代理用户名\u003C\u002Fa> 开始吧\u003C\u002Fp>","网络爬虫中的CAPTCHA处理指南","网络爬虫中处理CAPTCHA的完整指南。了解CAPTCHA类型、预防策略和自动解决方案，学习最小化CAPTCHA触发率的最佳实践和代理配合技巧。","\u002Fcn\u002Fblog\u002Fcaiji-zhong-chuli-captcha",null,"https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fcaiji-zhong-chuli-captcha-og.webp",[17,20,23,26,29,32,35,38,41,44],{"question":18,"answer":19},"网络爬虫常遇到哪些类型的CAPTCHA？","常见类型包括：reCAPTCHA v2（图像选择验证）、reCAPTCHA v3（无感评分验证）、hCaptcha（图像选择，类似reCAPTCHA）、Cloudflare Turnstile（浏览器环境验证）、文本CAPTCHA（输入扭曲文字）和滑动拼图验证。reCAPTCHA v3和Cloudflare Turnstile最难处理，因为它们基于行为评分，无明显的交互挑战。",{"question":21,"answer":22},"如何减少爬虫触发CAPTCHA的频率？","使用高质量住宅代理（IP信誉好）、控制请求频率和间隔、设置真实的浏览器请求头和指纹、维护cookie和会话状态、避免异常的浏览模式（如只访问深层页面不经过首页）、在需要时使用无头浏览器模拟真实浏览行为。预防永远比解决更高效。",{"question":24,"answer":25},"有哪些CAPTCHA自动解决方案？","主要方案包括：CAPTCHA解决服务（如2Captcha、Anti-Captcha、CapSolver）——将CAPTCHA转发给人工或AI解决；集成浏览器自动化工具模拟真实用户行为通过行为验证；使用Cloudflare绕过工具（如FlareSolverr）处理Cloudflare挑战。成本和速度各有差异。",{"question":27,"answer":28},"reCAPTCHA v3是如何工作的？如何应对？","reCAPTCHA v3不显示交互式挑战，而是在后台评估用户行为给出0-1的信任评分。评分低于阈值的请求被视为机器人。应对策略：使用真实浏览器环境（而非HTTP请求库）、模拟真实的用户行为（鼠标移动、滚动、点击）、使用住宅代理获取高信任IP、维护正常的浏览会话历史。",{"question":30,"answer":31},"CAPTCHA解决服务的成本和速度如何？","reCAPTCHA v2解决：约$1-3\u002F千次，平均10-30秒。hCaptcha：约$2-4\u002F千次，10-30秒。reCAPTCHA v3令牌：约$2-5\u002F千次，5-15秒。文本CAPTCHA：约$0.5-1\u002F千次，5-10秒。这些成本会随爬取规模快速累积，因此优化代理策略以减少CAPTCHA触发比依赖解决服务更经济。",{"question":33,"answer":34},"代理可以帮助避免CAPTCHAs吗?","是的,相当重要。 优质住宅代理拥有干净的IP声誉,很少触发CAPTCHA. Datacenter IP更常被标记,因为它们是已知的自动化源. 住宅代用品与适当要求模式相结合,几乎消除了大多数目标的CAPTCHA。",{"question":36,"answer":37},"什么是最便宜的方法 处理CAPTCHA的规模?","预防。 投资住宅代用品和适当报废模式的成本远低于CAPTCHA规模的解决服务. 如果您必须解决CAPTCHA,第三方服务费用为每1000美元1-3美元,但每个请求增加10-60秒的延迟.",{"question":39,"answer":40},"无头浏览器是否帮助 CAPTCHA ?","它们通过JavaScript执行提供真实的浏览器环境来帮助隐形CAPTCHAs(reCAPTCHA v3,Turnstile). 然而,它们的速度较慢,而且资源更密集。 仅用于特定需要浏览器级验证的目标.",{"question":42,"answer":43},"我怎么知道我是否有CAPTCHA的页面?","请检查access-date=中的日期值 (帮助) CAPTCHA指标的响应HTML:\"captcha\",\"captcha\",\"hcaptcha\",\"挑战\",或\"验证你是人类\". 同时注意403个出乎意料的反应,并重新定向以挑战URL. 将自动探测器安装到您的刮刮管道中。",{"question":45,"answer":46},"为什么我仍然得到 CAPTCHA 与住宅代理?","通常是因为请求模式,而不是IP质量. 常见原因:每分钟请求过多,浏览器头缺失,饼干处理问题,或刮刮模式过于系统化. 慢下来, 添加焦躁, 并且对相关请求使用粘度会话 。",[48,49,50,51,52],"预防CAPTCHA比解决CAPTCHA更有效且成本更低，应优先采取预防策略。","使用高信任度的住宅代理是避免触发CAPTCHA的最有效方法。","模拟真实人类行为，如设置随机延迟和真实请求头，能显著降低触发率。","遇到CAPTCHA时，应建立检测机制并采取退避策略或切换IP。","隐形CAPTCHA在后台静默运行，是最危险的威胁，需特别注意。",false,"2026-02-15T16:42:53+00:00","2026-07-19T03:13:07+00:00","2026-10-03T08:21:24+00:00","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fcaiji-zhong-chuli-captcha-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fcaiji-zhong-chuli-captcha-card.webp",9,{"name":61,"slug":62,"bio":63,"avatar_url":14,"website_url":14,"social_links":14},"ProxyHat Team","proxyhat-team","The ProxyHat editorial team covers proxies, web scraping, and data extraction.",[65],{"id":66,"slug":67,"name":68,"description":14,"meta_title":69,"meta_description":70,"parent_id":14},1,"web-scraping","网页抓取","网页抓取指南 | ProxyHat 博客","网页抓取技术、代理策略和数据提取最佳实践。",[72,73,77],{"id":66,"slug":67,"name":68},{"id":74,"slug":75,"name":76},16,"anti-bot","反机器人",{"id":78,"slug":79,"name":80},24,"captcha","CAPTCHA",{"it":82,"pl":83,"tr":84,"de":85,"ja":86,"zh":13,"ko":87,"en":88,"es":89,"pt":90,"ru":91,"fr":92,"x-default":88},"\u002Fit\u002Fblog\u002Fgestione-dei-captcha-quando-scorrere","\u002Fpl\u002Fblog\u002Fobsluga-captcha-podczas-skracania","\u002Ftr\u002Fblog\u002Fscraping-sirasinda-captcha-yonetimi","\u002Fde\u002Fblog\u002Fcaptchas-beim-scraping-behandeln","\u002Fja\u002Fblog\u002Fsukureipingu-ji-no-captcha-taiou","\u002Fko\u002Fblog\u002Fscraping-captcha-cheori","\u002Fblog\u002Fhandling-captchas-when-scraping","\u002Fes\u002Fblog\u002Fmanejar-captchas-al-hacer-scraping","\u002Fpt\u002Fblog\u002Flidando-com-captchas-ao-fazer-scraping","\u002Fru\u002Fblog\u002Fobrabotka-captcha-pri-skrapinge","\u002Ffr\u002Fblog\u002Fgerer-les-captchas-lors-du-scraping",{"it":82,"pl":83,"tr":84,"de":85,"ja":86,"zh":13,"ko":87,"en":88,"es":89,"pt":90,"ru":91,"fr":92},277,[96,116,143,177],{"id":97,"slug":98,"title":99,"excerpt":100,"featured_image_url":101,"featured_image_alt":102,"card_image_url":103,"og_image_url":104,"published_at":105,"updated_at":106,"content_updated_at":107,"reading_time_minutes":108,"is_featured":53,"indexable":4,"views":109,"author":110,"categories":111,"tags":113},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,53,{"name":61,"slug":62,"bio":63,"avatar_url":14,"website_url":14,"social_links":14},[112],{"id":66,"slug":67,"name":68,"description":14,"meta_title":69,"meta_description":70,"parent_id":14},[114,115],{"id":66,"slug":67,"name":68},{"id":74,"slug":75,"name":76},{"id":117,"slug":118,"title":119,"excerpt":120,"featured_image_url":121,"featured_image_alt":14,"card_image_url":122,"og_image_url":123,"published_at":124,"updated_at":55,"content_updated_at":125,"reading_time_minutes":126,"is_featured":53,"indexable":53,"views":127,"author":128,"categories":129,"tags":136},39,"wutou-liulanqi-daili-shezhi","无头浏览器 + 代理：Puppeteer和Playwright完整设置指南","一步步指南,用于配置Puppeteer和Playwright的代理旋转,隐形插件,设备仿真,以及使用住宅代理同时刮刮模式.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fwutou-liulanqi-daili-shezhi-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fwutou-liulanqi-daili-shezhi-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fwutou-liulanqi-daili-shezhi-og.webp","2026-02-12T15:02:24+00:00","2026-10-03T08:21:31+00:00",10,228,{"name":61,"slug":62,"bio":63,"avatar_url":14,"website_url":14,"social_links":14},[130],{"id":131,"slug":132,"name":133,"description":14,"meta_title":134,"meta_description":135,"parent_id":14},6,"fan-jiqiren","反机器人与安全","反机器人与安全指南 | ProxyHat 博客","反机器人系统技术分析、检测规避和代理安全。",[137,138,142],{"id":74,"slug":75,"name":76},{"id":139,"slug":140,"name":141},21,"headless-browser","无头浏览器",{"id":66,"slug":67,"name":68},{"id":144,"slug":145,"title":146,"excerpt":147,"featured_image_url":148,"featured_image_alt":149,"card_image_url":150,"og_image_url":151,"published_at":152,"updated_at":153,"content_updated_at":107,"reading_time_minutes":74,"is_featured":53,"indexable":4,"views":154,"author":155,"categories":156,"tags":163},215,"tiktok-shop-shangpin-shuju-caiji","采集 TikTok Shop 商品数据用于市场调研","官方渠道优先：TikTok Shop Partner API 和 Research API 实际开放了哪些数据，什么时候授权数据更划算，以及如何在正确的市场里慢速读取公开商品页。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Ftiktok-shop-shangpin-shuju-caiji-master.webp","Collecting TikTok Shop Product Data for Market Research","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Ftiktok-shop-shangpin-shuju-caiji-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Ftiktok-shop-shangpin-shuju-caiji-og.webp","2026-10-29T09:00:00+00:00","2026-10-29T09:00:19+00:00",58,{"name":61,"slug":62,"bio":63,"avatar_url":14,"website_url":14,"social_links":14},[157],{"id":158,"slug":159,"name":160,"description":14,"meta_title":161,"meta_description":162,"parent_id":14},5,"dianshang","电商与竞争情报","电商数据抓取指南 | ProxyHat 博客","电商数据抓取、价格监控和竞争情报指南。",[164,168,169,173],{"id":165,"slug":166,"name":167},14,"ecommerce","电商",{"id":66,"slug":67,"name":68},{"id":170,"slug":171,"name":172},15,"price-monitoring","价格监控",{"id":174,"slug":175,"name":176},18,"geo-targeting","地理定位",{"id":178,"slug":179,"title":180,"excerpt":181,"featured_image_url":182,"featured_image_alt":183,"card_image_url":184,"og_image_url":185,"published_at":186,"updated_at":187,"content_updated_at":107,"reading_time_minutes":165,"is_featured":53,"indexable":4,"views":117,"author":188,"categories":189,"tags":196},210,"ai-agent-daili-peizhi","AI Agent 代理配置：browser-use、Crawl4AI、MCP","运行在云服务器上的智能体从数据中心 IP 出口。本文给出 browser-use、Crawl4AI 和 MCP 服务器当前可用的代理配置，附粘性与轮换的决策表，以及需要避开的成本陷阱。","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fai-agent-daili-peizhi-master.webp","Proxy Setup for AI Agents: browser-use, Crawl4AI and an MCP Server","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fai-agent-daili-peizhi-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fzh\u002Fai-agent-daili-peizhi-og.webp","2026-10-24T09:00:00+00:00","2026-10-24T09:00:20+00:00",{"name":61,"slug":62,"bio":63,"avatar_url":14,"website_url":14,"social_links":14},[190],{"id":191,"slug":192,"name":193,"description":14,"meta_title":194,"meta_description":195,"parent_id":14},4,"kaifa-zhinan","开发者指南","开发者指南 | ProxyHat 博客","代码教程和SDK指南，帮助您将代理集成到应用程序中。",[197,198,202,205],{"id":66,"slug":67,"name":68},{"id":199,"slug":200,"name":201},2,"residential-proxies","住宅代理",{"id":59,"slug":203,"name":204},"python","Python",{"id":206,"slug":207,"name":208},22,"playwright","Playwright",[]]