BrowserHawk IQ now available! Click here for the full scoop!
Search:
How to detect spiders/robots/crawlers?
Created: 7/16/2001    Updated: 7/23/2001
Q   How can I use BrowserHawk to detect search engines and other such crawlers?

A   Check the Crawler property which is a boolean. If set to True, the visiting agent is a crawler/robot. You can further refine your testing to identify specific crawlers by also using the Browser property, which is set to a name which identifies the most popular search engines and crawlers.

For example:

  set bh = Server.CreateObject("cyscape.browserObj")
  if bh.crawler = True and bh.Browser = "Google" then
     ...
  end if

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP