Live data from Hacker News

Ask HN: How do I stop companies from scraping my site?

news.ycombinator.com

1–10 of 62 posts

Ask HN: How do I stop companies from scraping my site?

#1
This article says that one of the datasets for chatGPT was obtained by scraping all links with reddit with more than 2 upvotes: https://www.searchenginejournal.com/how-to-block-chatgpt-fro...

I don't want big companies to scrape my content and then sell it on their platform.

Novelty of LLM output may be an open question, but input is just someone else's stuff. I assumed that default copyright protects from this kind of bullshitttery. That it says that work can not be used, adapted, copied without creators permission. (I can only guess that it was allowed to happen, because that's the first time someone stole IP in this particular manner on this scale?) But now that we know that it's a thing, how can we maintain ownership of the inputs legally and engineering wise?

Re: Ask HN: How do I stop companies from scraping my site?

#6
post #5

Make some of your content, which is invisible to normal users, so exceptionally toxic to the bots that they will begin to avoid your site by choice.

How can doing this cannot affect your SEO?

Serve different content to non search engine bots

Re: Ask HN: How do I stop companies from scraping my site?

#7
You can gate it behind a login.

Even a simple self made captcha (what is 2 + 7?) to reveal the content would probably stop LLMs.

But hurt seo so you have to not rely on that.

Do a medium and show a paragraph first then the login/captcha to continue.

Re: Ask HN: How do I stop companies from scraping my site?

#9
Spidering and Web scraping in and of itself is permitted by law (eu) or fair use (us). It is not considered illegal and many people do it for many different purposes. There are many common tools and libraries to help with this on linux, mac os and windows. It's even legal to keep the copies in a searchable database. [1]

What is not then permitted is to give other people copies, or publish them on your website, or pretend it's your own work etc...

When it comes to LLMs or image generation models, they don't keep any copies and they don't generate any copies either, so they consider themselves to be well in the clear. [2]

If you want to stop people scraping your stuff anyway, you can always use robots.txt , or put things up behind a login-wall.

Do consider the morality of what you are doing though. Personally I feel that published data should be scrape-able where practical.

[1] https://en.wikipedia.org/wiki/Authors_Guild%2C_Inc._v._Googl.... (you're even allowed to do this with physical books)

[2] https://www.uspto.gov/sites/default/files/documents/OpenAI_R... (With apologies for my crude summary of their actual arguments)

Re: Ask HN: How do I stop companies from scraping my site?

#10
I wrote about this a while ago [1]. Unfortunately, with robots.txt, you're at the mercy of crawlers. They may respect it or ignore it altogether. You can block IP addresses but many crawlers may not even use static IP addresses.

You can go to extremes and put your content behind a login, as others have suggested. But that would also create friction for your intended audience.

[1]: https://www.naiyerasif.com/post/2023/09/30/blocking-ai-web-c...

Post reply on HN