了解各大搜索引擎蜘蛛爬蟲的UA,對我們進行某些程序編寫十分有用,例如網(wǎng)頁判斷客戶端來源時,UA是常用的標準之一。
本文收集了各大搜索引擎的蜘蛛爬蟲UA,以便需要時查閱。
百度搜索
搜索老版UA
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
圖片老版UA
Baiduspider-image+(+http://www.baidu.com/search/spider.htm)
新版PC
Mozilla/5.0 (compatible; Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)
新版WAP
Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)
360搜索
//360搜索 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); //360網(wǎng)站安全檢測 360spider (http://webscan.360.cn)
谷歌搜索
//Google Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) //Adwords移動網(wǎng)絡(luò) Googlebot-Image/1.0 //Adwords移動網(wǎng)絡(luò) AdsBot-Google-Mobile (+http://www.google.com/mobile/adsbot.html) Mozilla (iPhone; U; CPU iPhone OS 3 0 like Mac OS X) AppleWebKit (KHTML, like Gecko) Mobile Safari
Bing搜索
//微軟 bing,必應(yīng) Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
搜狗搜索
Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)