this post was submitted on 02 Nov 2025
93 points (96.0% liked)

Ask Lemmy

35396 readers
1264 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

I've been following the struggle of bearblog developer to manage the current war between bot scrapers and people who are trying to keep a safe and human oriented internet. What is lemmy doing about bot scrapers?

Some context from bearblog dev

The great scrape

https://herman.bearblog.dev/the-great-scrape/

LLMs feed on data. Vast quantities of text are needed to train these models, which are in turn receiving valuations in the billions. This data is scraped from the broader internet, from blogs, websites, and forums, without the author's permission and all content being opt-in by default.

Needless to say, this is unethical. But as Meta has proven, it's much easier to ask for forgiveness than permission. It is unlikely they will be ordered to "un-train" their next generation models due to some copyright complaints.

Aggressive bots ruined my weekend

https://herman.bearblog.dev/agressive-bots/

It's more dangerous than ever to self-host, since simple mistakes in configurations will likely be found and exploited. In the last 24 hours I've blocked close to 2 million malicious requests across several hundred blogs.

What's wild is that these scrapers rotate through thousands of IP addresses during their scrapes, which leads me to suspect that the requests are being tunnelled through apps on mobile devices, since the ASNs tend to be cellular networks. I'm still speculating here, but I think app developers have found another way to monetise their apps by offering them for free, and selling tunnel access to scrapers

top 50 comments
sorted by: hot top controversial new old
[–] Zak@lemmy.world 42 points 2 days ago (3 children)

If you're concerned about bots ingesting the content, that's impossible to prevent in an open federated system.

[–] radix@lemmy.world 25 points 2 days ago (2 children)

It's weird that this has become such a controversial opinion. The internet is supposed to be open and available. "Information wants to be free." It's the big gatekeepers who want to keep all their precious data locked away in their own hoard behind paywalls and logins.

If some clanker is going to read my words, it's a very small price to pay for people being able to do the same.

[–] FaceDeer@fedia.io 11 points 2 days ago (1 children)

It's a classic case of people being all for freedom until all of a sudden they think it negatively impacts them personally in some vague abstract way.

An AI training off of my words costs me nothing. It doesn't harm me at all. Frankly, I like the notion that future AIs are in some small part aligned based off of my views as expressed through my writing.

[–] GreyEyedGhost@lemmy.ca 5 points 2 days ago (2 children)

It will harm the owner of the server, who will be serving a large amount of data to someone he may not want to, at his expense.

load more comments (2 replies)
[–] 1984@lemmy.today 3 points 2 days ago* (last edited 2 days ago)

It was open and free until big tech stole the software, packaged it as their own services under a different name, and made billions from it.

Now they are scraping all content on the web, to fuel another round of billions from Ai.

We are seeing how the web is dying, bots produce most of the content, and people will eventually stop using it, just like cable tv.

It was a nice run though. I really liked growing up with the web and computers. But the end result is Enshittification. :)

[–] Rhaedas@fedia.io 4 points 2 days ago (2 children)

It's a version of the age old question on how do you keep someone from stealing your images while still being able to show it. No one can see an image without having downloaded it already. The best you can do is layer in things like watermarks to make cleaning it into a "pure" version not worth the trouble. Same with text, poison it so it's less valuable without a lot of extra work.

[–] _cryptagion@anarchist.nexus 8 points 2 days ago (4 children)

You can’t poison text in a way that’s meaningful to LLMs without making it indecipherable to humans.

[–] sad_detective_man@sopuli.xyz 3 points 2 days ago (1 children)

I mean, reddit text is poisoned by virtue of being highly unhinged. It's probably one of the best reasons not to use Ai right now, since its dataset is being formed from literal redditors.

Maybe we just gotta toxify it up here a bit

[–] FaceDeer@fedia.io 3 points 2 days ago

Doesn't seem to have negatively impacted AI much.

load more comments (3 replies)
[–] Zak@lemmy.world 3 points 2 days ago

That's DRM, and it only works if everyone is accessing the information on devices they don't fully control.

[–] Krudler@lemmy.world 2 points 2 days ago

I'm not entirely sure that's what the concern is, I think it's that the writer is describing such an obscene influx of bot traffic that it's must be a nightmare to maintain and pay for?

[–] Nemo@slrpnk.net 36 points 2 days ago (1 children)

My primary instance, slrpnk.net, has Anubis set up. I'm not quite sure how it works, but it seems to force some kind of delay that is hardly noticeable to human users but times out automatic requests.

[–] henfredemars@infosec.pub 30 points 2 days ago (2 children)

It works by asking your system for a small computation before handling the request. It’s not too intrusive for normal users, but it drives up the costs for bot farms.

[–] ewigkaiwelo@lemmy.world 9 points 2 days ago (3 children)

So it doesn't stop LLMs from data farming but makes it spend more energy on doing so? If that's the case it sounds like that it's making things even worse

[–] AMoistGrandpa@lemmy.ca 19 points 2 days ago* (last edited 2 days ago) (6 children)

As I understand, Anubis doesn't make the user do anything. Instead, it runs some JavaScript in the client's browser that does the calculations, and then sends the result back to the server. In order for an LLM to get through Anubis, the LLM would need to be running a real JavaScript engine (since the requested calculation is too complicated for an LLM to do natively), and that would be prohibitively expensive for bot farms at any real scale. Since all real people accessing the site will be doing so through a browser, which has JavaScript built in, and most bots will just download the website and send the source code right into the LLM without being able to execute it, real people will be able to get through Anubis while bots won't. The total amount of extra energy consumed by adding Anubis isn't actually that high since bot farms aren't doing the extra work.

Take that all with a grain of salt; that info is based on a blog post which I read like 6 months ago, and I may be remembering incorrectly.

[–] henfredemars@infosec.pub 11 points 2 days ago* (last edited 2 days ago)

Your understanding is consistent with mine. It spends a small amount of effort (per user) that makes scaling too expensive (per bot-farm-entity). It also uses an adjustable difficulty that can vary depending on how sus a request appears to be.

[–] FaceDeer@fedia.io 3 points 2 days ago (2 children)

The extra work and energy expenditure is being done by every single user using the site. The server wastes everyone else's resources to provide benefits for it.

Bots can be designed to run javascript too, so if a site's contents are worth scraping it can still be done.

[–] Cocodapuf@lemmy.world 4 points 2 days ago* (last edited 2 days ago) (2 children)

Do you realize how much extra work your browser has to do every time you visit a site that makes money on ads? All the additional scripts being run in the background, it's astonishing. Trust me, the additional work that users' machines have to do for this is totally insignificant when viewed in the greater context of what we actually do with computers.

Watching a 10 minute YouTube video, that's your computer doing more work than it would loading a million text based pages running Anubis.

load more comments (2 replies)
load more comments (1 replies)
load more comments (4 replies)
[–] henfredemars@infosec.pub 8 points 2 days ago

It saves no energy. In fact, it costs more energy at first, but the hope is that bots will turn their attention to something that isn't so expensive as hitting your servers. The main goal is to get your service online so that you're not burning all your own resources on fake users.

[–] Rhaedas@fedia.io 5 points 2 days ago (2 children)

LLMs can't do math well. Add in the factor of needing to understand the question first before doing the math and it might work better than you think.

[–] missingno@fedia.io 11 points 2 days ago (1 children)

Scrapers aren't using the LLM to scrape. They just gather data the old fashioned way, by spoofing a web browser. Then the LLM can use that data, but that step comes later.

[–] FaceDeer@fedia.io 4 points 2 days ago

Also, nowadays modern LLMs will have tool APIs available to them, which will likely include a calculator app. So even if LLMs are reading a page directly they likely won't be flummoxed by math problems.

[–] ewigkaiwelo@lemmy.world 8 points 2 days ago (3 children)

By making thigs worse I was referring to the fact that AI centers already require too much energy

[–] henfredemars@infosec.pub 5 points 2 days ago

It's not a perfect solution by any means. It doesn't protect user data. It doesn't do anything to help with the energy problem. It merely makes it possible for someone to run their server without getting taken offline by automated systems.

[–] village604@adultswim.fan 2 points 2 days ago

The energy being spent on web scraping is a fraction of a percent of the energy costs to train an LLM. It's a negligible increase.

This process is happening before the LLM is involved; it's probably a standard Python based script.

load more comments (1 replies)
load more comments (1 replies)
[–] joyjoy@lemmy.zip 22 points 2 days ago* (last edited 2 days ago)

I'm reminded of the joke where someone explains their plan to rob a bank, and are then told that's called having a job.

Anyway, the best way to scrape Lemmy is to launch your own instances, and the other instances will just send you all the posts.

[–] irelephant@lemmy.dbzer0.com 18 points 2 days ago

With activitypub, all the posts are easy to scrape (just add an extra header: Accept: application/activity+json), but most scrapers won't bother to do that, and scrape the frontend of instances instead.

A lot of instances have deployed Anubis or cloud flare to block scrapers. My instance has iocaine set up iirc.

[–] tal@lemmy.today 11 points 2 days ago* (last edited 2 days ago) (1 children)

If your concern is load, disabling anonymous access (sadly), which a lot of instances have been doing. Probably using stuff like Cloudflare and Anubis.

If your concern is not letting scrapers have access to your posts/comments at all, that isn't going to happen short of a massive shift away from a publicly-accessible environment. You're gonna be stuck with private, small forums if you want that; search engines won't index it, and you'll have small userbases. On the Threadiverse, if someone wants to harvest your comment and post text, all they have to do is set up an instance, federate, and subscribe to every community on every instance. They don't need to scrape at all. The only reason that bots are scraping at all is because it isn't worth the effort, at the current scale of the Threadiverse, to bother writing special-case code for the Threadiverse to obtain text via the federated instance route.

[–] turdas@suppo.fi 2 points 2 days ago

Load is what really sucks about scraping IMO, and I wonder if the fediverse's design makes it more or less susceptible to load precisely because the scrapers can just set up their own instances and get all data through there by federation. Time will tell, I suppose.

[–] DeathByBigSad@sh.itjust.works 10 points 2 days ago (6 children)

You can do a Sxan Maneuver and add thorns into your "th"s.

Like þis.

(Okay maybe don't actually do it, Lemmy is gonna downvote you lol)

[–] _cryptagion@anarchist.nexus 17 points 2 days ago (1 children)

That doesn’t actually do anything. LLMs have no issue figuring out tricks like that. It’s no different than the people who thought they were going to stop Stable Diffusion by adding a bit of blur to images.

[–] FaceDeer@fedia.io 9 points 2 days ago

If anything it's helpful to AI training. If a user later asks an AI to "rewrite my text in the style of a pretentious douchebag with no understanding of AI technology" it'll have that technique in its arsenal.

[–] andyburke@fedia.io 10 points 2 days ago (1 children)

When it is so easy to replace characters in strings for a computer, why would this help?

s/þ/th/g

I am open to being educated, but this seems like old wives tale stuff about how to keep the AI demons away.

[–] IsoKiero@sopuli.xyz 6 points 2 days ago (1 children)

English is not my native language and for whatever reason that makes text almost unreadable. But no worries, I can feed that to copilot to clean up:

Can you replace those strange characters to normal from this text: Beautiful! I had þis vinyl, once. Lost wiþ so many þings over þe course of a life.

Absolutely! Here's your cleaned-up version with the unusual characters replaced by their standard English equivalents:

"Beautiful! I had this vinyl, once. Lost with so many things over the course of a life."

Let me know if you'd like it stylized or rewritten in a different tone—poetic, nostalgic, modern, anything you like.

[–] irelephant@lemmy.dbzer0.com 4 points 2 days ago (1 children)

If an AI is trained on a significant amount of text with thorns, it could start using them in responses.

[–] turdas@suppo.fi 3 points 2 days ago

Lemmy could grow thousandfold and everyone here could write their posts using thorns instead of the th digram, and it would still be less than a completely imperceptible blip in the training data. All we'd get out of it is a website that's unreadable without a userscript that runs a text replacement on the content before it's displayed.

[–] missingno@fedia.io 5 points 2 days ago

Doing this just makes you sound like a Homestuck character.

[–] turdas@suppo.fi 4 points 2 days ago* (last edited 2 days ago)

The second-worst part about this guy is that he replaces all th's with the thorn, but phonetically the thorn should only be used for the voiceless dental fricative (the sound at the beginning of thorn) while the voiced dental fricative (the sound at the beginning of though, or indeed this) should use the eth (ð).

The worst part, of course, is the fact that he posts in the first place.

[–] Rhaedas@fedia.io 3 points 2 days ago

Is that why he does it? I'll be honest, I'm starting to read it okay, just a bit slower than usual.

[–] FaceDeer@fedia.io 6 points 2 days ago

What this boils down to is either a request for a DRM system for plain text, a request for DDOS protection, or a request for a fundamental change to how copyright law works that would put the control of human communication fully in the hands of the biggest and most powerful entertainment conglomerates.

DRM doesn't work. DDOS protection can be done with something like Cloudflare. And I decline your request to change copyright in that manner, it's bad enough as it is.

[–] asudox@lemmy.asudox.dev 6 points 2 days ago* (last edited 2 days ago) (1 children)

Unfortunately you can't do much about it other than try and block the bots by making it expensive (or impossible since some don't allow JS) for them with PoW CAPTCHAs (such as Anubis) on the frontend. And even then, if someone really wanted to scrape, they can always set an instance up themselves or even register an account on the instance and just call the APIs directly (which most likely won't be behind the PoW CAPTCHA as no known Lemmy client has functionality to solve them yet). Whether the scraper instance gets caught and blocked by admins is another matter, though.

[–] bigchungus@piefed.blahaj.zone 2 points 2 days ago (1 children)

It's probably way too much effort to build and maintain an ActivityPub scraper for such a minuscule fraction of internet traffic, compared to just scraping Facebook or something.

load more comments (1 replies)
[–] mesamunefire@piefed.social 5 points 2 days ago

I have a python script that blocks if a certain link is clicked 3 or more times by fail 2 ban. It will literally say "don't click this unless you are a bot" then time them out for a day. Its worked well on simple sites.

[–] phoenixz@lemmy.ca 4 points 2 days ago (1 children)

Scrapers like these usually use proxy providers like storm proxies to be able to appear to come from hundreds of thousands of different IP addresses, making it enormously difficult to block them

[–] Tollana1234567@lemmy.today 2 points 2 days ago* (last edited 2 days ago)

reddit flags the most used datacenter proxies, so people get blocked that way(spammers, bots accounts), the more expensive proxies are often used by mobile proxies who use other evasion methods they arnt the issue, its the ones that use cheap methods who doesnt care about thier accounts getting banned. maybe lemmy can block the most common proxies centers.

load more comments
view more: next ›