Header

You are welcome to look around. You will have to register before you can post a message, create a blog, chat live with our members, or add a site to our directory.




Reply
  #1 (permalink)  
Old 8 December, 2008, 03:39 PM
Will.Spencer's Avatar
The World's Ugliest Cheerleader
 
Join Date: Dec 2008
Location: Singapore
iTrader: (30)
Posts: 3,372
$NetBucks: 3,630
Blog Entries: 1
Thanks: 401
Thanked 798 Times in 458 Posts
Default Block Web Content Scrapers and Downloaders

I have found Bot Trap to be extremely effective in blocking the sneakiest of the web scraper bots.

Bot Trap works by placing a hidden link on your homepage. That link can only be seen in the source code to the page. Ergo, the only things that should see and follow that link are web robots. But, that link is Disallowed in robots.txt, so polite robots will never try to follow that link.

Robots that do follow that link get automatically added with Deny statements into your sites .htaccess file.

Sometimes legitimate web robots get out of sync, so to make the script able to run unattended, I recommend that you whitelist those in your .htaccess file.

Here's my current whitelist:
Code:
Allow from 127.0.0.1
Allow from 64.233.160.0/19      # Google
Allow from 65.55                # MSN
Allow from 66.249               # Google
Allow from 67.195               # Yahoo!
Allow from 72.14.192.0/18       # Google
Allow from 72.30                # Yahoo!
Allow from 74.6                 # Yahoo!
Allow from 74.125.0.0/16        # Google
Allow from 122.152.129.15       # Baidu
Allow from 202.160              # Yahoo!
This blocks people stealing your content to place on MFA sites and it blocks people downloading your entire websites for offline reading. I constantly see people trying to download my fifty-thousand page web sites. It's a complete waste of bandwidth.

Bot Trap is friendly though. Users will see a message telling them that they are blocked and they only have to enter the word "access" into a form to be automatically unblocked.

Every blocking or unblocking action generates an email to the site admin.

It's really a beautiful script.
Reply With Quote
The Following User Says Thank You to Will.Spencer For This Useful Post:
WebEvader (20 February, 2009)
  #2 (permalink)  
Old 9 December, 2008, 10:16 AM
Net Builder
 
Join Date: Dec 2008
iTrader: (0)
Posts: 9
$NetBucks: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't get this, you allow some search bots and you block all others, how do you do that with real visitors? they have an IP address too
Reply With Quote
  #3 (permalink)  
Old 9 December, 2008, 01:01 PM
Will.Spencer's Avatar
The World's Ugliest Cheerleader
 
Join Date: Dec 2008
Location: Singapore
iTrader: (30)
Posts: 3,372
$NetBucks: 3,630
Blog Entries: 1
Thanks: 401
Thanked 798 Times in 458 Posts
Default

Quote:
Originally Posted by freexs.org View Post
I don't get this, you allow some search bots and you block all others, how do you do that with real visitors? they have an IP address too
Only search bots which access the hidden bot-trap file get blocked.

Real visitors get blocked if they access that hidden file also, but they can unblock themselves just by typing "access" into the form.

Since search bots tend to be stupid, I specifically whitelist (allow) the important ones. This means that they can't get themselves blocked, even if they do access the hidden bot-trap file.
Reply With Quote
  #4 (permalink)  
Old 10 December, 2008, 10:00 AM
DomainMagnate's Avatar
Master Net Builder
 
Join Date: Dec 2008
iTrader: (6)
Posts: 648
$NetBucks: 330
Blog Entries: 2
Thanks: 81
Thanked 63 Times in 46 Posts
Send a message via AIM to DomainMagnate
Default

Why not just allow the known se bots and disallow the rest?
Reply With Quote
  #5 (permalink)  
Old 10 December, 2008, 10:18 AM
Will.Spencer's Avatar
The World's Ugliest Cheerleader
 
Join Date: Dec 2008
Location: Singapore
iTrader: (30)
Posts: 3,372
$NetBucks: 3,630
Blog Entries: 1
Thanks: 401
Thanked 798 Times in 458 Posts
Default

The normal way to do that would be to block them in robots.txt, but the bad guys just ignore robots.txt.

To deny them in .htaccess, you need to know their IP addresses, and the really bad guys change IP's frequently.

But it's not just bots. Web downloaders like wget, HTTrack, and WebCopier each up huge amounts of bandwidth and provide almost no value to the web site owner.
Reply With Quote
  #6 (permalink)  
Old 11 December, 2008, 04:39 PM
firetown's Avatar
Web Marketer
 
Join Date: Dec 2008
Location: Indonesia (almost)
iTrader: (0)
Posts: 553
$NetBucks: 839
Blog Entries: 2
Thanks: 161
Thanked 47 Times in 38 Posts
Send a message via MSN to firetown Send a message via Yahoo to firetown Send a message via Skype™ to firetown
Default

Someone on Sphinn asks:

Who other than the major search engines would you add to your white list? Will you be hurting your rank if you keep the scrapers from grabbing your content?
Reply With Quote
  #7 (permalink)  
Old 11 December, 2008, 05:24 PM
Mr.Bill's Avatar
One is happy to be of service
Recent Blog: Diaper Rash
 
Join Date: Dec 2008
iTrader: (9)
Posts: 863
$NetBucks: 457
Blog Entries: 1
Thanks: 48
Thanked 253 Times in 134 Posts
Send a message via MSN to Mr.Bill
Default

I use robot trap on a couple sites. However coming the beginning of next year might not be as important anymore.


Scrapers are not going to fair well
webpronews.com/topnews/2008/11/17/seo-about-to-get-turned-on-its-ear
__________________
Myspace Proxy ಠ_ಠ Proxy ಠ_ಠ Proxy Sites
Proxy Locator Proxy List
Reply With Quote
  #8 (permalink)  
Old 11 December, 2008, 06:45 PM
Will.Spencer's Avatar
The World's Ugliest Cheerleader
 
Join Date: Dec 2008
Location: Singapore
iTrader: (30)
Posts: 3,372
$NetBucks: 3,630
Blog Entries: 1
Thanks: 401
Thanked 798 Times in 458 Posts
Default

I don't have much faith in personalized search, but that's a whole other thread.
Reply With Quote
  #9 (permalink)  
Old 26 December, 2008, 11:07 AM
Net Builder
 
Join Date: Dec 2008
iTrader: (0)
Posts: 10
$NetBucks: 20
Thanks: 1
Thanked 4 Times in 3 Posts
Default

I agree with Will's assessment of personalized search...but back onto the main topic...

Up until now, I have not worried too much about scrapers, but just noticed one of my main real estate sites getting scraped for listings by a major national third party site... time to take action, I guess....

Thanks for the how to on this.

Eric
__________________
Eric Blackwell
SEO, Technologist, Web Entrepreneur

My Search Engine Marketing Blog
The Eric Blackwell Personal Blog
My latest real estate project.

Too many other projects to mention...hehe
Reply With Quote
  #10 (permalink)  
Old 2 February, 2009, 01:45 PM
TopDogger's Avatar
Senior Net Builder
 
Join Date: Jan 2009
iTrader: (2)
Posts: 149
$NetBucks: 136
Thanks: 19
Thanked 27 Times in 21 Posts
Default

Will, does your white list cover all of the Google spiders?

I've seen some lengthy lists of GoogleBot IP addresses.
Reply With Quote
Reply

Bookmarks


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Block Robots and Web Downloaders with robots.txt Will.Spencer Managing 12 6 June, 2009 03:40 PM
Anyone know how to Block Web Proxies Mr.Bill Web Proxies 4 30 April, 2009 08:48 PM
How to Profit from Content Scrapers? Shenron Promoting 4 12 March, 2009 06:58 PM
How to block this proxy ? Szise Web Proxies 3 24 February, 2009 06:15 PM
Block A Country Will.Spencer Managing 11 8 January, 2009 08:58 PM


All times are GMT. The time now is 10:46 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios