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.
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.
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.
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.
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?
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