224 points · by rakjosh · 8y ago · 123 comments
I've created a website which gets around 5K unique hits every day. It's a free service for users but I've to pay a monthly fee to a third party service provider.
Because my site is free for users and doesn't require users to register it's been very hard to keep up with this guy. If I change certain things, they counter it immediately and make it work. And they use several proxies to send the request, it's virtually impossible to block based on IP.
Please suggest, if there is anything I'm missing that can be done.
https://en.wikipedia.org/wiki/Trap_street
I did that with an online marketing dictionary I wrote years ago, some of the definitions included strange usage examples that contained the names of several of my friends. When a competitor scraped us, instead of shutting them down, the boss negotiated a data licensing arrangement with the scraper instead, so we ended up getting a revenue stream & backlinks out of the incident.
If that fails, and talking to them directly doesn't work, then the DMCA is often effective. I've made DMCA requests against websites that distributed cracks of my software & they often disappeared in a couple of days.
Now, this idea is not limited to maps: Google used trap search results to catch Microsoft using Internet Explorer to scrap Google search results: https://googleblog.blogspot.com/2011/02/microsofts-bing-uses...
In the "real world", it was commonplace for compilers of mailing lists to include several "phantom names" in their lists. If those names received a mail, the list-holder would send an invoice to the person who sent it. Simple, elegant, very difficult to bypass way to protect your knowledge-based business.
A scraper could get around that by x-referencing the data with another source, if possible.
And maps are nothing more than a collection of facts. As are recipes. You can take the recipes in a cookbook, write them down, and disseminate them how you choose and no one could say boo. Which is why Coca-Cola guards its recipe carefully. Once it is known, they can't do anything about it. You can't copyright "a lot of sugar, carbonated water, caramel coloring, mix".
But you also can't just photocopy a map and sell it as your own. Presentation falls under copyright. The look of the map is a distinct piece of art that has copyright protections. The combination of colors, fonts, line thickness, placement of labels, etc, are all things you can't reproduce.
But the information that Bob Street crosses Bill and Jill streets at these points, that's just facts.
I reported it to google, and they removed it from search results in a few days. I also reported it to the site's host, who took it down completely.
https://help.github.com/articles/guide-to-submitting-a-dmca-...
Just submit whatever politically incorrect thing you like in with a bunch of P2P links and watch the dissent disappear :)
Instructions and discussion here: https://news.ycombinator.com/item?id=17787302
* Require accounts with good robot account creation detection. Actually, not hard since there is a lot of canned coded for this.
* Subscribe to Tor and Proxy IP collection services and then block all of the Tor and Proxy addresses. Tor IP list is free from the Tor Project and Proxy IP's can be found through various services.
* Put in crawler detection code. Most scrappers are really simple and are really easy to detect. I think Apache even has a module to detect simple scrapers and autoblock them.
* Feed bad data to scrapers once they are detected. This was the thing that made scrapers go away. Once they know you can detect them and feed bad data, they know they are screwed and will give up. I did get a kick out of looking at the scrapers website and seeing "Penis won the 5K Penis run". Of course, you should really feed the scrapers bad data that looks believable.
* DMCA their website with their provider. The company I worked for did have several scraper sites deactivated.
* Ask Google to delist them. The company I worked for did have several scraper sites removed from Google.
* There are a number of services that will help you with all of this but your website is only 5K unique users a day and not really worth the cost.
Also, you can use the fake data as evidence they scraped you.
It was like a cat and mice game for a few weeks.
That HN comment of yours? If it's sufficiently non-trivial, it's protected by copyright. Even though neither you nor HN directly make money of it. If someone scrapes HN and republishes that comment, you could go after them and demand they delete it.
If they're scraping content you created, they have already broken the copyright law. (They may not realize that. Make sure they do.)
Since 1989, in Berne countries you don't even have to post copyright notice for them to be in violation. So your first step would be to notify them that they've already broken the law, and invite them to cut it out.
Your second step would be to contact a lawyer.If the other site is not in a Berne country, that might complicate things. On the other hand, they may simply not be aware that they've broken the law.
https://en.wikipedia.org/wiki/Feist_Publications,_Inc.,_v._R....
Aka Directive 96/9/EC of the European Parliament
Seems like a pretty hard line to draw.
Keep in mind that copyright is for creative works. Facts can not be copyrighted. In a news article, it is the expression of the facts that covers the copyright, not the facts themselves. So you can definitely write an article stating the same facts as a Reuters press release (and be even based on that press release). You just can't base your prose on their prose. You have to completely rewrite it as a human -- it has to be an artefact, not an automated process.
However, there is another class of copyright for collections. A collection of facts can be copyrighted. You can't copy the same collection of the facts, nor a substantial portion of the collection. You can take individual facts out of the collection and include them in a creative work, but you can't just grab facts one at a time and create a new collection -- that would be a derived work.
Like all laws, copyright law is subject to interpretation by humans (lawyers and judges). While you might think that you are satisfying the law, they may disagree. To avoid that circumstance it is best to stay in an area where it is obvious to everyone that you are within the law. If you don't mind being sued, then you can try to push the boundaries. It is your choice.
Yes, it is a hard line to draw. It is advisable that if your business is dependent on being on the right side of copyright issues that you simply stay well away from the line.
All laws result in tricky distinctions, and that's what case law is for.
These are all just things that will slow them down, but won't stop them. Make it cost them more money then they make using your data will be the only way to truly stop them.
If the content is markup based, are your countermeasures about changing the IDs, classes, or overall tag structure of the markup you serve? I was wondering if you could have several variations of the above, and serve your content via a random one each time that would be visually indistinguishable to a human viewer. The person maintaining the scraper would have to have seen and adapted to all of them to get all your new content reliably. Not an impossible hurdle, but they might try easier targets if too many barriers are in the way.
There are enough suggestions in here to provide a bunch of useful options, and while the site itself may not be making money, the experience dealing with this may be very useful on a resume or for building a client base with similar issues.
Possible approach: look for abnormal usage patterns to ID opponent systems. Randomize format and possibly other steps to assist that. Build that randomization in marginally effective ways that are easy to improve later. Build a way to feed bad/poison/"test" data to specific source IPs. At a time chosen to maximize impact, start feeding poison data to the suspect IPs using the marginally effective randomization, while feeding regular data to most visitors but with much improved randomization. Basically make your opponent's site visibly unreliable.
If you feel particularly vicious and know something about the opponent's infrastructure, make the poison vicious e.g. feed SQL injections. Be aware that this may have costs - you'd likely be fine on a legal basis ("I'm not responsible for their crappy sanitizing of inputs they shouldn't have had anyway") but you might still incur costs (lawyer if sued).
Edit: also, anyone going to serious measures to continue scraping after you act against it may also be inclined to ddos your site if you actually fully block them.
"this content was unabashedly stolen from <your site URL>"
...or maybe...
"my favorite movie is Mac & Me, check it out! https://youtu.be/vNjACYfQlbI"
Unless the content must be 100% static, you can embed the caller's IP address in it.
Sure, the crawler can change IPs, but I doubt they have unlimited addresses and eventually they will run out.
Another option (if you can reliably detect the scraper) is to poison their data by sending them bad (but valid-looking) data.
[1] https://unicode.org/cldr/utility/confusables.jsp?a=test&r=No...
If you already knew this, then I guess the applicable movie quote this time is "Lighten up, Francis" from Stripes.
Start with successfully detecting them and go from there. Log them. Track origins. Compile patterns.
Then, when you decide exactly what you want your move to be use all that data to be as effective as possible.
1. Create content that can't be scraped. I'm not sure exactly what your "content" is in this case, but images can be watermarked, text can be given lots of references to your own brand and service, ect.
2. Submit legal requests to google to remove the content. Enough violations can get their domain blacklisted. I've done this successfully in the past for competitors using my trademark without permission to get it removed from Google. Ads. https://support.google.com/legal/answer/3110420
3. Talk to the hosting provider, if applicable. If someone is repeatedly breaking copyright law using their platform, they may have some incentive to stop providing hosting.
Maybe even automate it: one lots of requests start coming from the same source, a sign that somebody is scraping your site, start messing with the data you send them in later requests.
This all assuming there's no legal objection to providing false data on this particular topic. There might be, depending on what it's about.
You can do this while serving your real content to Google.
For example I have never reached the end of their 'identify the road signs' challenge and if I encounter a site that uses them I'll just close the tab. Even Google Search.
Much better to use rotating series of questions related to your domain of data.
An afternoons coding would get you an independent self-hosted Captcha system that would be just as effective (if not more so, as it's proprietary) and probably less annoying to your visitors.
As someone who has used both, absolutely 100% no in every way.
Google's captcha is so superior to what you would write, please don't tell people not to.
When your site is specifically targetted, captchas will not work
They pay 50c per 2 hours to the workers, and API access costs 50c-$1 per 2000 solved captchas.
I think most of the people doing this are in India, where US 50c for a couple hours translates well enough. (Completely naive about the truth of the situation though.)
Others have been able to beat reCaptcha too, though:
Since your website is free, it might be worth combining forces to serve your users better. I know it's hard to swallow, but in the hand what matters is that what you do is useful to people isn't it? And if your users are moving away it probably is because `some` of the things they do is right?
If it's factual in nature: It's not protected by copyright.
If it's content your users created: You are not the copyright holder and cannot file a DMCA takedown notice. Your best bet is really going to be making yourself unscrapable.
If it's content you created: File a DMCA takedown notice.
Compilations of facts can however be protected in the EU under the Database Directive.
Also, Terms of Use etc.
But you can still have copyright on some of your data. If the other company simply copies everything, you can take legal action.
My competitor was scrapping all my phone numbers and SMS received from my site and displaying it on their site. It took me several months to figure that out. I was seeing abnormal bandwidth usage for JSON (my API endpoint) but never realized that someone was constantly pinging my APIs.
[edit] Now, I've removed the API and everything is served as HTML (not easier for someone to scrap my API)
Or are you referring to the copy that promotes the service?
Scraping is very easy if your content is rendered on the server. If it's rendered on the client it's a little more complex, I guess your competitor would have to use headless browsers.
Technologically, you're potentially up against services like Crawlera which will be pretty hard to beat.
The best solution is probably filing copyright claims through DMCA which would remove them from Google rankings.
If you can randomise how those selectors are applied enough it might make it less fun to scrape.
https://news.ycombinator.com/item?id=17795750
Might give an idea.
Ideally changing the children counts to prevent things like $(body).children().children()[3].html().
If this not enough, feel free to ask, will think more
if this not enough, feel free to ask me