訓練用爬蟲
ClaudeBot 是由 Anthropic 營運的機械人,會收集用於訓練 AI 模型的網頁。抓取資料,用於訓練 Anthropic 提供的 LLM 及 AI 產品。此機械人遵守 robots.txt;如請求聲稱來自 ClaudeBot,可用的核實依據為已公布的 IP 範圍檔案。
請求聲稱
"ClaudeBot/1.0"
核對依據
Anthropic 的已公佈的 IP 範圍
即時檢查
貼上日誌記錄中的地址,系統會與營運者公布的資料核對。
參考資料
| User agent | Mozilla/5.0 (compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
|---|---|
| 營運者 | Anthropic |
| 用途 | 抓取資料,用於訓練 Anthropic 的 AI 產品。 |
| 遵守 robots.txt | 遵守來源 |
| 驗證方法 | IP 範圍已公布的 IP 範圍檔案 Anthropic 公佈單一前綴檔案,涵蓋 ClaudeBot、Claude-User 及 Claude-SearchBot。自稱為 ClaudeBot 但來自這些前綴以外的請求屬於偽造。 |
| 爬取模式 | 未公布 |
| robots.txt 標記 | ClaudeBot |
| 營運者文件 | https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler |
抓取資料,用於訓練 Anthropic 提供的 LLM 及 AI 產品。
robots.txt
選擇其中一項,貼到網域根目錄。規則按標記分別設定。
User-agent: ClaudeBot
Disallow: /User-agent: ClaudeBot
Allow: /User-agent: ClaudeBot
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search請修改 Disallow 路徑,使其符合你的網址。
FAQ
ClaudeBot 是由 Anthropic 營運的機械人,會收集用於訓練 AI 模型的網頁。抓取資料,用於訓練 Anthropic 提供的 LLM 及 AI 產品。此機械人遵守 robots.txt;如請求聲稱來自 ClaudeBot,可用的核實依據為已公布的 IP 範圍檔案。
是。營運者的文件說明 ClaudeBot 會讀取 robots.txt,並遵守針對其標記的 Disallow 規則。規則會在下次擷取該檔案時生效,可能是發布後數小時或數天。
Anthropic 公佈單一前綴檔案,涵蓋 ClaudeBot、Claude-User 及 Claude-SearchBot。自稱為 ClaudeBot 但來自這些前綴以外的請求屬於偽造。參考資料發布於 https://claude.com/crawling/bots.json。
在 robots.txt 中為標記 ClaudeBot加入 Disallow: /。如該爬蟲不遵守 robots.txt,請改為在 CDN 或反向代理伺服器比對 user agent,並在該處回傳 403。
封鎖 ClaudeBot 可使你的網頁不被納入下一輪訓練。此舉不會刪除已收集的內容,亦不會影響網站在一般搜尋中的排名。