Home > Backend Development > PHP Tutorial > 如果记录爬虫

如果记录爬虫

WBOY
Release: 2016-06-06 20:17:31
Original
1269 people have browsed it

看到ecshop有个爬虫记录插件,记录哪个搜索引擎爬了哪个页面,但我对ECSHOP又不了解,又样知道这功能实现方式。
某个页面,如何判断是用户访问还爬虫访问?是哪个爬虫?

----------已解决,通过 HTTP_USER_AGENT ----------

"Baiduspider",
"Googlebot",
"360Spider",
"Sosospider",
"sogou spider"

回复内容:

看到ecshop有个爬虫记录插件,记录哪个搜索引擎爬了哪个页面,但我对ECSHOP又不了解,又样知道这功能实现方式。
某个页面,如何判断是用户访问还爬虫访问?是哪个爬虫?

----------已解决,通过 HTTP_USER_AGENT ----------

"Baiduspider",
"Googlebot",
"360Spider",
"Sosospider",
"sogou spider"

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template