this post was submitted on 23 Sep 2024
155 points (97.5% liked)

Technology

59373 readers
8218 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] umami_wasbi@lemmy.ml 19 points 1 month ago (1 children)

How can I do this without Cloudflare?

[–] rikudou@lemmings.world 22 points 1 month ago (1 children)

Put a page on your website saying that scrapping your website costs [insert amount] and block the bots otherwise.

[–] gravitas_deficiency@sh.itjust.works 15 points 1 month ago (1 children)

The hard part is reliably detecting the bots

[–] melroy@kbin.melroy.org 4 points 1 month ago (1 children)

Also you don't want to block legit search engines that are not scraping your data for AI.

[–] gravitas_deficiency@sh.itjust.works 7 points 1 month ago (1 children)

Again: hard to differentiate all those different bots, because you have to trust that they are what they say they are, and they often are not

[–] melroy@kbin.melroy.org 4 points 1 month ago (1 children)

Instead of blocking bots on user agent.. I'm blocking full IP ranges: https://gitlab.melroy.org/-/snippets/619

[–] vinnymac@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

It certainly can be a cat and mouse game, but scraping at scale tends to be ahead of the curve of the security teams. Some examples:

https://brightdata.com/

https://oxylabs.io/

Preventing access by requiring an account, with strict access rules can curb the vast majority of scraping, then your only bad actors are the rich venture capitalists.