ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 20th, 2008, 08:12 PM
Dr_Rock's Avatar
Dr_Rock Dr_Rock is offline
Wizard Down Under
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Location: Australia
Posts: 249 Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Days 3 h 52 m 35 sec
Reputation Power: 211
Send a message via MSN to Dr_Rock Send a message via Yahoo to Dr_Rock
Question List of crawlers / bots needed

Hi folks, I am in search of a list of user-agent or IP ranges used by crawlers so that I can exclude them from a hit counter, can anyone point me in the right direction?

Cheers!
__________________
For my first trick watch me turn a zero into a one...

Reply With Quote
  #2  
Old April 21st, 2008, 01:12 AM
Dr_Rock's Avatar
Dr_Rock Dr_Rock is offline
Wizard Down Under
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Location: Australia
Posts: 249 Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Days 3 h 52 m 35 sec
Reputation Power: 211
Send a message via MSN to Dr_Rock Send a message via Yahoo to Dr_Rock
Thumbs up Got it!

Ok, I found one, seems to be short a couple though...

Use this array to check against the http_user_agent, should be good for asp or php...

Code:
Array("Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz", "msnbot")


Feel free to extend the list!

Last edited by Dr_Rock : April 21st, 2008 at 01:45 AM. Reason: forgot msnbot

Reply With Quote
  #3  
Old April 22nd, 2008, 06:49 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,892 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 7 h 56 m 32 sec
Reputation Power: 1537
nice find.. thanks for sharing!

found one bot on this forum that is not in your list:
Gigabot

Last edited by Shadow Wizard : April 22nd, 2008 at 06:59 AM.

Reply With Quote
  #4  
Old April 27th, 2008, 07:39 PM
Dr_Rock's Avatar
Dr_Rock Dr_Rock is offline
Wizard Down Under
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Location: Australia
Posts: 249 Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Days 3 h 52 m 35 sec
Reputation Power: 211
Send a message via MSN to Dr_Rock Send a message via Yahoo to Dr_Rock
Thanks SW, heres my function:

Code:
Private Function IsBot()
    Dim arrBotList, intCount, blnIsBot
    arrBotList = Array("Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz", "msnbot", "Gigabot")
    blnIsBot = False
    for intCount = 0 to Ubound(arrBotList)

        If (InStr(Request.ServerVariables("HTTP_USER_AGENT"), arrBotList(intCount))) Then
	    blnIsBot = True
	    Exit For
	End If
    Next
    IsBot = blnIsBot
End Function

Reply With Quote
  #5  
Old April 28th, 2008, 04:28 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,892 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1Folding Points: 338184 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 7 h 56 m 32 sec
Reputation Power: 1537
cheers, this can be slightly improved though:
Code:
Private Function IsBot()
	Dim arrBotList, intCount, blnIsBot
	Dim strUserAgent
	arrBotList = Array("Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz", "msnbot", "Gigabot")
	blnIsBot = False
	strUserAgent = Request.ServerVariables("HTTP_USER_AGENT")
	for intCount = 0 to Ubound(arrBotList)
		If (InStr(strUserAgent, arrBotList(intCount))) Then
			blnIsBot = True
			Exit For
		End If
	Next
	IsBot = blnIsBot
End Function

searching the Request.ServerVariables collection will take some CPU cycles,
having the same search in loop will waste more than you need..
Comments on this post
Dr_Rock agrees: didnt event think of that, cheers!

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > List of crawlers / bots needed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway