r/AskProgramming • • Nov 01 '26

Doing more to Avoid AI scraping

Reddits solution seems to be cutting off all open content and allowing just accounts. But couldn't we do better if for instance we obfuscated the HTML before sending it to the browser on a rotating algorithmic scheme, we can mitigate AI because it will slow its scanning down by a lot(since it would have to render the page instead of just look for what it wants, or catch the whole thing, unless reddit can't do rate limiting on active sessions per client, I don't see how this isn't game over. Slightly slower for the public and non-accounts, but at least its still there. Seeing how reddit is so useful it could be considered cruel to shut out so many non-account users at a time when we're being told to prepare for months of troubles, many people use reddit and should do more to keep it available because it has wealths of knowledge.

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/MikeUsesNotion 29d ago

I wouldn't assume scrapers used to feed data to LLMs are using LLMs. They could be, but they could also be using long existing pre-AI scrapers.

1

u/orbitalzoo 29d ago

Either way just a ms delay injected between every letter of content, for public no account content, would slow the scraper enough to be useless and still leave the data useful to humans granted they have to wait. But it’s better than serving nothing.

1

u/MikeUsesNotion 29d ago

If we're talking about something like a news article, doing this would make it useless for humans to use too. It wouldn't just be a clean 1ms per letter. Transmission times vary because of latency variability, and you have to account for rendering time.

I just grabbed a local news story with 2174 characters, which is pretty short. Assuming everything loaded within the 1ms perfectly, and accounting for extra per character rendering time (not sure how much that is, but the total rendering time for "abc" is less than 3x the rendering time of one character), you're adding over 2 seconds to the page load time.

Generally people start clicking away once loading time hits 2 seconds. That was before people were glued to their phones, so it's entirely possible that click away time is even shorter now.

If you knocked it down to 1 microsecond between characters, that's about two hundredths of a second of added time. That's within the variance you can reasonably expect internet connections to vary by moment to moment so it wouldn't bother people but also wouldn't bother the scrapers.

1

u/orbitalzoo 29d ago

Right but we’re talking about users with no account. Regular users get regular speed. If the option is slow articles or nothing at all, we should choose slow simply because reddit has a large pool of helpful information

2

u/MikeUsesNotion 29d ago

That sounds like a good way to make websites not gain new sign ups. If people don't like how the free site works, they're not going to sign up. Doubly so if there's text saying "our website loads faster if you sign up".