Ask HN: how do comparison websites prevent scraping?
I'm developing a web app not too dissimilar from a price/flights comparison one (nothing to do with travel though) and part of it is collecting lots of info not currently available in a single db (that's were the value really is).
But then I wonder: how to I prevent people from getting all that data off my website (via some sort of scraping, intelligent or not)? I realise it's not worth it to try and cover every single attempt but surely there are ways to make it at least very difficult - apart from presenting everything as an image or via flash!
Thanks for any input
Zuz
9 comments
[ 2.5 ms ] story [ 27.2 ms ] threadYou might be able to prevent it if you had ids and class names that randomly changed on a daily basis or really malformed html, but I wouldn't bother.
Another option is to limit concurrent connections to your server based on IP (Some of the financial websites do this). This would make it so it took much longer to get your data. But again, if someone really wants to get your data, they will.
I don't worry about it. Just make you website/app is better than your competition. Even if someone copies all of your data, they won't have the web presence. It will just be a cheap imitation.
So much so that we are likely to make more money by giving access to the data via API to other companies than by allowing "normal" people to search through the data and get paid a referral fee every time they click on something.
By why should we avoid the latter as an additional revenue stream? I'd rather try and make it more difficult for people to scrape it (and I don't want to ask people to accept T&C before making a search)
Thanks for the reply Paul
As someone who bypassed paying fees for APIs by just scraping, I think you do have a legit concern. But don't be concerned about regular users scraping it, be concerned about potential buyers scraping it. Regular users scraping it can't do much damage.
Thanks