助理擷取程式

GoogleAgent-URLContext

GoogleAgent-URLContext 是由 Google 營運的機械人,會按需為 AI 助理擷取單一網頁。GoogleAgent-URLContext 是由 Google 營運的網頁擷取程式,代表 Gemini API 用戶擷取網頁內容。營運者並未公布 IP 範圍清單或反向 DNS 規則,因此無法證明帶有此 user agent 的請求是否真實,單靠 robots.txt 規則亦無法阻止偽冒請求。

Google僅憑聲稱robots.txt:未有政策

即時檢查

驗證自稱為 GoogleAgent-URLContext 的 IP

GoogleAgent-URLContext 沒有營運者提供的驗證方法。此處仍會顯示該地址的真實身分。

參考資料

GoogleAgent-URLContext 概覽

GoogleAgent-URLContext 爬蟲的參考資料
User agentGoogleAgent-URLContext

僅為標記:以子字串比對。

營運者Google
用途助理擷取程式
遵守 robots.txt未有政策
驗證方法僅憑聲稱未有公布,僅有 user agent

此代理沒有公佈 IP 範圍檔案,亦沒有反向 DNS 命名慣例。user agent 字串是唯一的識別依據,而任何客戶端都可以發送該字串,因此即使字串相符,亦只應視為對方的聲稱,而非證明。

爬取模式未公布
robots.txt 標記GoogleAgent-URLContext
營運者文件https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers

GoogleAgent-URLContext 是由 Google 營運的網頁擷取程式,代表 Gemini API 用戶擷取網頁內容。當開發者將 URL 作為上下文提供予 Gemin…

robots.txt

允許或封鎖 GoogleAgent-URLContext

選擇其中一項,貼到網域根目錄。規則按標記分別設定。

封鎖 GoogleAgent-URLContext
User-agent: GoogleAgent-URLContext
Disallow: /
允許 GoogleAgent-URLContext
User-agent: GoogleAgent-URLContext
Allow: /
允許,但排除不希望被引用的頁面
User-agent: GoogleAgent-URLContext
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

請修改 Disallow 路徑,使其符合你的網址。

封鎖的實際代價

封鎖 GoogleAgent-URLContext 後,用戶查詢你的網址時會收到錯誤訊息,而非摘要。這是客戶支援與聲譽方面的取捨,與訓練無關。

為所有爬蟲建立檔案

FAQ

GoogleAgent-URLContext 常見問題

GoogleAgent-URLContext 是甚麼?

GoogleAgent-URLContext 是由 Google 營運的機械人,會按需為 AI 助理擷取單一網頁。GoogleAgent-URLContext 是由 Google 營運的網頁擷取程式,代表 Gemini API 用戶擷取網頁內容。營運者並未公布 IP 範圍清單或反向 DNS 規則,因此無法證明帶有此 user agent 的請求是否真實,單靠 robots.txt 規則亦無法阻止偽冒請求。

GoogleAgent-URLContext 是否遵守 robots.txt?

未有文件記載。營運者並無說明 GoogleAgent-URLContext 是否讀取 robots.txt,因此請加入規則,並在日誌中確認請求確實停止。

如何核實請求確實來自 GoogleAgent-URLContext?

無法核實,至少無法單憑請求本身核實。此代理沒有公佈 IP 範圍檔案,亦沒有反向 DNS 命名慣例。user agent 字串是唯一的識別依據,而任何客戶端都可以發送該字串,因此即使字串相符,亦只應視為對方的聲稱,而非證明。建議改為將來源 IP 與託管及數據中心 IP 範圍比對,並對任何行為類似爬蟲的流量實施速率限制。

如何封鎖 GoogleAgent-URLContext?

在 robots.txt 中為標記 GoogleAgent-URLContext加入 Disallow: /。如該爬蟲不遵守 robots.txt,請改為在 CDN 或反向代理伺服器比對 user agent,並在該處回傳 403。

封鎖 GoogleAgent-URLContext 會否影響我的搜尋排名?

封鎖 GoogleAgent-URLContext 後,用戶查詢你的網址時會收到錯誤訊息,而非摘要。這是客戶支援與聲譽方面的取捨,與訓練無關。

    GoogleAgent-URLContext(Google):User Agent、IP 核實及 robots.txt | IPScanner