| ▲ | Show HN: Stop AI scrapers from hammering your self-hosted blog (using porn)(github.com) |
| 284 points by misterchocolat 3 days ago | 207 comments |
| Alright so if you run a self-hosted blog, you've probably noticed AI companies scraping it for training data. And not just a little (RIP to your server bill). There isn't much you can do about it without cloudflare. These companies ignore robots.txt, and you're competing with teams with more resources than you. It's you vs the MJs of programming, you're not going to win. But there is a solution. Now I'm not going to say it's a great solution...but a solution is a solution. If your website contains content that will trigger their scraper's safeguards, it will get dropped from their data pipelines. So here's what fuzzycanary does: it injects hundreds of invisible links to porn websites in your HTML. The links are hidden from users but present in the DOM so that scrapers can ingest them and say "nope we won't scrape there again in the future". The problem with that approach is that it will absolutely nuke your website's SEO. So fuzzycanary also checks user agents and won't show the links to legitimate search engines, so Google and Bing won't see them. One caveat: if you're using a static site generator it will bake the links into your HTML for everyone, including googlebot. Does anyone have a work-around for this that doesn't involve using a proxy? Please try it out! Setup is one component or one import. (And don't tell me it's a terrible idea because I already know it is) package: https://www.npmjs.com/package/@fuzzycanary/core
gh: https://github.com/vivienhenz24/fuzzy-canary |
|
| ▲ | xgulfie a minute ago | parent | next [-] |
| Does anyone know if meta name=rating content=adult will also get them to buzz off? |
|
| ▲ | kstrauser 17 hours ago | parent | prev | next [-] |
| I love the insanity of this idea. Not saying it's a good idea, but it's a very highly entertaining one, and I like that! I've also had enormous luck with Anubis. AI scrapers found my personal Forgejo server and were hitting it on the order of 600K requests per day. After setting up Anubis, that dropped to about 100. Yes, some people are going to see an anime catgirl from time to time. Bummer. Reducing my fake traffic by a factor of 6,000 is worth it. |
| |
| ▲ | anonymous908213 15 hours ago | parent | next [-] | | As someone on the browsing end, I love Anubis. I've only seen it a couple of times, but it sparks joy. It's rather refreshing compared to Cloudfare, which will usually make me immediately close the page and not bother with whatever content was behind it. | | |
| ▲ | teeray 10 hours ago | parent | next [-] | | It really reminds me of old Internet, when things were allowed to be fun. Not this tepid corporate-approved landscape we have now. | |
| ▲ | kstrauser 14 hours ago | parent | prev | next [-] | | Same here, really. That's why I started using it. I'd seen it pop up for a moment on a few sites I'd visited, and it was so quirky and completely not disruptive that I didn't mind routing my legit users through it. | | |
| ▲ | n1xis10t 14 hours ago | parent [-] | | So maybe there are more people who like the “anime catgirl” than there are who think it’s weird | | |
| ▲ | kstrauser 14 hours ago | parent [-] | | *anime jackalgirl ;-) Quite possibly. Or, in my case, I think it's more quirky and fun than weird. It's non-zero amounts of weird, sure, but far below my threshold of troublesome. I probably wouldn't put my business behind it. I'm A-OK with using it on personal and hobby projects. Frankly, anyone so delicate that they freak out at the utterly anodyne imagery is someone I don't want to deal with in my personal time. I can only abide so much pearl clutching when I'm not getting paid for it. | | |
| ▲ | Imustaskforhelp 4 hours ago | parent [-] | | For what its worth, I think that a UN/(Unicef?) website (not sure which one) did use anubis so maybe you can put it behind businesses too :) |
|
|
| |
| ▲ | prmoustache 2 hours ago | parent | prev | next [-] | | Anyone is free to replace the cat girl with an actual cat or a vintage computer logo or whatnot anyway. My issue is that it blocks away people using browsers without javascript. | | |
| ▲ | stefanka an hour ago | parent [-] | | How can one do this? Did not find it in the docs | | |
| ▲ | easton 2 minutes ago | parent [-] | | It’s a feature in the paid version, or I guess you could recompile it if you didn’t want to pay (but my guess is if you want to change the logo you can probably pay). |
|
| |
| ▲ | acheong08 4 hours ago | parent | prev | next [-] | | As someone on the hosting end, Anubis has unfortunately been overused and thus scrapers, especially Huawei ones, bypass it. I've gone for go-away instead which is similar but more configurable in challenges | |
| ▲ | PunchyHamster 5 hours ago | parent | prev | next [-] | | My experience with it is that it somehow took 20 seconds to load (site might've been hn-hugged at the time), only to "protect" some fucking static page instead of just serving that shit in the first place rather than wasting CPU on... whatever it was doing to cause delay | | |
| ▲ | timpera 2 hours ago | parent [-] | | Same experience for me. I tried it on a low-end smartphone and the Anubis challenge took about 45 seconds to complete. |
| |
| ▲ | m4rtink 4 hours ago | parent | prev [-] | | Yep, Anubis-chan is super cute! :) |
| |
| ▲ | n1xis10t 17 hours ago | parent | prev | next [-] | | That’s so many scrapers. There must be a ton of companies with very large document collections at this point, and it really sucks that they don’t at least do us the courtesy of indexing them and making them available for keyword search, but instead only do AI. It’s kind of crazy how much scraping goes on and how little search engine development goes on. I guess search engines aren’t fashionable. Reminds me of this article about search engines disappearing mysteriously: https://archive.org/details/search-timeline I try to share that article as much as possible, it’s interesting. | | |
| ▲ | kstrauser 16 hours ago | parent | next [-] | | So! Much! Scraping! They were downloading every commit multiple times, and fetching every file as seen at each of those commits, and trying to download archives of all the code, and hitting `/me/my-repo/blame` endpoints as their IP's first-ever request to my server, and other unlikely stuff. My scraper dudes, it's a git repo. You can fetch the whole freaking thing if you wanna look at it. Of course, that would require work and context-aware processing on their end, and it's easier for them to shift the expense onto my little server and make me pay for their misbehavior. | | | |
| ▲ | PeterStuer 5 hours ago | parent | prev | next [-] | | Or some anti-ddos/bot companies using ultra cheap scraping services to annoy you enough to get you into their "free" anti bot protection, so they can charge the few real ai scrapers for access to your site. | |
| ▲ | mrweasel 4 hours ago | parent | prev | next [-] | | > There must be a ton of companies with very large document collections at this point See, I don't think there is, I don't think they want that expense. It's basically the Linus Torvalds philosophy of data storage, if it's on the Internet, I don't need a backup. While I have absolutely no proof of this, I'd guess that many AI companies just crawl the Internet constantly, never saving any of the data. We're seeing some of these scrapers go to great length attempting to circumvent any and all forms of caching, they aren't interested in having a two week old copy of anything. | |
| ▲ | miki123211 6 hours ago | parent | prev [-] | | But there is a lot of search engine development going on, it's just that the results of the new search engines are fed straight into AI instead of displayed in the legacy 10-links-per-page view. |
| |
| ▲ | n1xis10t 17 hours ago | parent | prev | next [-] | | *anime jackalgirl Also you mentioned Anubis, so it’s creator will probably read this. Hi Xena! | | |
| ▲ | xena 12 hours ago | parent | next [-] | | Ohai! I'm working on dataset poisoning. The early prototype generates vapid LinkedIn posts but future versions will be fully pluggable with WebAssembly. | | |
| ▲ | tommica 8 hours ago | parent | next [-] | | Hi Xena! Your blog is amazing! Didn't realize you're working on Anubis - it's a really nice tool for the internet! Reminds me a bit of the ye' olde internet for some reason. | |
| ▲ | mrweasel 4 hours ago | parent | prev | next [-] | | Now I'm picturing an AI trained exclusively on LinkedIn posts. One could probably sell that model to an online ad agency for a pretty penny. | | | |
| ▲ | gettingoverit 8 hours ago | parent | prev | next [-] | | You've made one of the best solutions, that matched what I thought of implementing myself, and at the time it was most needed. I think a couple of "thank you" are sorely missing in this comment section. Thank you! | |
| ▲ | n1xis10t 12 hours ago | parent | prev [-] | | That sounds fun, I look forward to reading a writeup about that | | |
| ▲ | xena 12 hours ago | parent [-] | | So I can plan it, how much detail do you want? Here's what I have about the prototype: https://anubis.techaro.lol/docs/admin/honeypot/overview | | |
| ▲ | 63stack 3 hours ago | parent | next [-] | | This is amazing, I was just wondering about if it's possible to tie anubis together with iocaine, but it seems you already thought of that. | | |
| ▲ | xena an hour ago | parent [-] | | It's slightly different in subtle ways. If I recall iocaine makes you configure a subprocess that it executes to generate garbage. One rule I have for Anubis in the code is that fork()/exec() are banned. So the pluggable garbage generator is gonna be powered by CGI handlers compiled to WebAssembly. It should be fun! |
| |
| ▲ | n1xis10t 12 hours ago | parent | prev | next [-] | | Probably any detail that you think is cool, I would be interested in reading about. When in doubt err on the side of too much detail. That was a good read. I hadn’t heard of spintax before, but I’ve thought of doing things like that. Also “pseudoprofound anti-content”, what a great term, that’s hilarious! | |
| ▲ | kstrauser 10 hours ago | parent | prev [-] | | As the owner of honeypot.net, I always appreciate seeing the name used as intended out in the wild. |
|
|
| |
| ▲ | ramonga 4 hours ago | parent | prev | next [-] | | what do people use to get keyword alerts in HN? | |
| ▲ | kstrauser 16 hours ago | parent | prev | next [-] | | Correct; my bad! And hey, Xena! (And thank you very much!) | |
| ▲ | ziml77 15 hours ago | parent | prev [-] | | I checked Xe's profile when I hadn't seen them post here for a while. According to that, they're not really using HN anymore. | | |
| |
| ▲ | buu700 12 hours ago | parent | prev [-] | | It's actually a well established concept: https://youtu.be/p9KeopXHcf8 |
|
|
| ▲ | montroser 15 hours ago | parent | prev | next [-] |
| This is a cute idea, but I wonder what is the sustainable solution to this emerging fundamental problem: As content publishers, we want our content to be accessible to everyone, and we're even willing to pay for server costs relative to our intended audience -- but a new outsized flood of scrapers was not part of the cost calculation, and that is messing up the plan. It seems all options have major trade-offs. We can host on big social media and lose all that control and independence. We can pay for outsized infrastructure just to feed the scrapers, but the cost may actually be prohibitive, and seems such a waste to begin with. We can move as much as possible SSG and put it all behind cloudflare, but this comes with vendor lock in and just isn't architecturally feasible in many applications. We can do real "verified identities" for bots, and just let through the ones we know and like, but this only perpetuates corporate control and makes healthy upstart competition (like Kagi) much more difficult. So, what are we to do? |
| |
| ▲ | hollowturtle 14 hours ago | parent | next [-] | | If the LLMs are the "new Google" one solution would be for them to pay you when scraping your content, so you both have an incentive, you're more willing to be scraped and they'll try to not abuse you because it will cost them at every visit. If your content is valuable and requested on prompts they will scrape you more and so on. I can't see other solutions honestly. For now they decided to go full evil and abuse everyone | | |
| ▲ | jrm4 an hour ago | parent | next [-] | | No disrespect to op, but I'm baffled as to how people keep coming up with ideas like this as if they are viable. Google is never ever ever ever going to "pay to scrape." I'm genuinely baffled as to how people think it would possibly come to this. | |
| ▲ | vivzkestrel 11 hours ago | parent | prev | next [-] | | or turn your blog into a frontend/backend combo. keep the frontend as an SPA so that the page has nothing on it. have your backend send data in encrypted format and the AI scrapers would need to do a tonne of work in order to figure out what your data is. If everyone uses a different key and different encryption algorithm suddenly all their server time is busted decrypting stuff | | |
| ▲ | chii 9 hours ago | parent [-] | | How does your normal users get access to the same contents? Or are you having the user solve an encryption puzzle to view it? | | |
| ▲ | vivzkestrel 7 hours ago | parent | next [-] | | - the frontend has a decryption module that ll show users what they want to see, - the backend has an encryption module. - The bots and crawlers will see the encrypted text - Can someone who peeks deeply inside the client side code decrypt it? YES - Will 99% of the scrapers bother doing this? NO - The key can be anything, it could be a per session key agreed upon between the client and the server, a csrf token, or even a fixed key | | |
| ▲ | hollowturtle 6 hours ago | parent | next [-] | | Ehm what would stop ai scrapers from using a browser like a normal user would? Google bot already does, it can execute js and can read spa client side generated content, so it proves can be done at scale, and I'm pretty sure some ai scrapers already do | | |
| ▲ | vivzkestrel 4 hours ago | parent [-] | | rate limit per ip that progressively keeps decreasing req/mins every few mins? | | |
| ▲ | prmoustache 2 hours ago | parent | next [-] | | What if scrapers ips are millions of smartphones? If I was as evil as an AI scraper company that is not obeying robots.txt I would totally build/buy thousands of small games/apps for mobiles to use them as jumphosts to scape the web. This is probably happening already. | | |
| ▲ | vivzkestrel 19 minutes ago | parent [-] | | in my case my application does not use pagination, it uses infinite scroll, even if you had a million devices that use google chrome, they would all load page 1 and if that req/minute progressively decreaasing thing is implemented, once they start scrolling endlessly they would all hit the rate limits sooner or later, the thing is a human is not going to scroll down a 100 pages but a bot will. once this difference has been factored it, it wont matter how many unique devices they bring into the battle |
| |
| ▲ | chii 2 hours ago | parent | prev [-] | | so why not just do that for these scrapers, rather than complicate it by encrypting and decrypting, which is just obfuscation as the private key is clearly available to the end-user? | | |
| ▲ | vivzkestrel 18 minutes ago | parent [-] | | tbh i did not encrypt decrypt for the ai scrapers at all, a lot of people were previously trying to download data directly from my API that my frontend uses and this kinda pissed me off a bit. So I added encryption/decryption to the mix and will release the newer version. As I mentioned earlier as well, can someone sit through and decrypt it? yes. Will 99% of them do it? no! Thats where I win |
|
|
| |
| ▲ | PunchyHamster 4 hours ago | parent | prev [-] | | the AI will just run chrome instance |
| |
| ▲ | vivzkestrel 7 hours ago | parent | prev [-] | | for example this is what my backend renders on the static html page {"z":"gxCit6xEQf0N9IIoG909xfSxypRX7j0BLlXnd5IgWrrzEWzBUxDiS4o4AlIkNYOyuzkY8w4IVoEgUmW02jj84BxhMrNPetK8n6nIn2ORLKQPfIVTS48nGQ1PldtdlpiUNYUm04N+WrMBGGceKYnQoORQO3XbFOVzboFYOWbdMhLdMS2N26YtCUYHwy7jw1AwlXS0Nm1SClb0U1qk2KnDB6s9bcMmpstaOY2RkmGbQ4KMuKHaGzByVzeIPHrtXtNjLnj68cgyLALyO3E5ncq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k3V3whwCzsFRy8rLXU9LuaSOz0OVYUoIG9jdECSWMFajW/p8V8aY53pxKfWtFNtLfTTJh9LOxAQgku2XLtjUe5hb5iGfA74s8pLQECKKRH5VqXnC1Z0YA82TirJOvR2txHCxJm6RsPmoeSKul9Qqy6Rmewo4pUz3/i88ivXsqyh/FgIe5UUVXFG8Lcfa746fHBlaHWJfvYKGa/M2GIftW1FoSH5klnFBuaZMtHVyTafSuXU/R9j+d/AGF0Vpbr6jJquRIHp+hjZOEzSWfgHs/xZEusV8t8dHOS1FuQVd4qZlbHACcxCqImcqpNnTE/5EtU8bFUZFKAfpQWD/czDWIwFBs9nMv4+/MqcTwBEyaCtme++CzdcDy4cI3hiymmcSrLlj82LrHqyMAW3vxXwLh6/XeSWMnb83miU1SIEkco73Mb4pAe2C5RBvAIKB5OR1g6cgqIRWZLsX/0Bwc4z9fEiShytt4GSOyMiqe5qSr5cew6u0YuaJXR2b85q9DB63mZFmrXCop4iXZm/nzA35XOAg6NCDKWw7P75C2X6oumov21NFs11pLkhzFGwu3a8="} only my frontend can figure out what it is |
|
| |
| ▲ | PunchyHamster 4 hours ago | parent | prev | next [-] | | So they won't pay you and just scrape pages that have it public, and you will never get traffic from search again until you let them scrape | |
| ▲ | n1xis10t 14 hours ago | parent | prev [-] | | This would require new laws though, wouldn’t it? |
| |
| ▲ | n1xis10t 15 hours ago | parent | prev [-] | | At this point it seems like the problem isn’t internet bandwidth, but just expensive for a server to handle all the requests because it has to process them. Does that seem correct? |
|
|
| ▲ | thethingundone 17 hours ago | parent | prev | next [-] |
| I own a forum which currently has 23k online users, all of them bots. The last new post in that forum is from _2019_. Its topic is also very niche. Why are so many bots there? This site should have basically been scraped a million times by now, yet those bots seem to fetch the stuff live, on the fly? I don’t get it. |
| |
| ▲ | sethops1 16 hours ago | parent | next [-] | | I have a site with a complete and accurate sitemap.xml describing when its ~6k pages are last updated (on average, maybe weekly or monthly). What do the bots do? They scrape every page continuously 24/7, because of course they do. The amount of waste going into this AI craze is just obscene. It's not even good content. | | |
| ▲ | thisislife2 9 hours ago | parent | next [-] | | If you are in the US, have you considered suing them for robot.txt / copyright violation? AI companies are currently flush with cash from VCs and there may be a few big law firms willing to fight a law suit against them on your behalf. AI companies have already lost some copyright cases. | | |
| ▲ | happymellon 7 hours ago | parent [-] | | Based upon traffic you could tell whether an IP or request structure is coming from a not, but how would you reliability tell which company is DDOSing you? | | |
| ▲ | chrismorgan 6 hours ago | parent [-] | | It should be at least theoretically possible: each IP address is assigned to an organisation running the IP routing prefix, and you can look that up easily, and they should have some sort of abuse channel, or at the very least a legal system should be able to compel them to cooperate and give up the information they’re required to have. |
|
| |
| ▲ | n1xis10t 16 hours ago | parent | prev [-] | | It would be interesting if someone made a map that depicts the locations of the ip addresses that are sending so many requests, over the course of a day maybe. | | |
| |
| ▲ | tokioyoyo 13 hours ago | parent | prev | next [-] | | Large scale scraping tech is not as sophisticated as you'd think. A significant chunk of it is "get as much as possible, categorize and clean up later". Man, I really want the real web of the 2000s back, when things felt "real" more or less... how can we even get there. | | |
| ▲ | n1xis10t 13 hours ago | parent | next [-] | | If people start making search engines again and there is more competition for Google, I think things would be pretty sweet. | | |
| ▲ | nephihaha an hour ago | parent | next [-] | | There are other search engines, they've just been marginalised. Even something as mainstream as Bing has been pushed to the side. | |
| ▲ | PunchyHamster 4 hours ago | parent | prev | next [-] | | it's few orders of magnitude harder given the amount of SEO spam prevalent, and that just gonna get worse with AI | |
| ▲ | tokioyoyo 12 hours ago | parent | prev [-] | | Because of the financial incentives, it would still end up with people doing things to drive traffic to their website though, no? Maybe because the web was smaller, and people looked at it as means "to explore curiosity" in the olden days it kinda worked differently... maybe I just got old, but I don't want to believe that. | | |
| ▲ | n1xis10t 12 hours ago | parent [-] | | By “doing things to drive traffic to their website” do you mean trying to do SEO type things to manipulate search engine rankings? If so, I think that there are probably ways to rank that are immune to tampering. Don’t worry, you’re not just old. The internet kind of sucks now. | | |
| ▲ | makapuf 7 hours ago | parent [-] | | Google was neat in that you didn't see the content keyword spam either on the websites or the portal home pages. The Web was already full of shit (first ad banner was 1994? By 1999 you already had punch the monkey as classy content), but it was more ... organic and you could easily skip it. |
|
|
| |
| ▲ | thethingundone 13 hours ago | parent | prev | next [-] | | I would understand that, but it seems they don’t store the stuff but recollect the same content every hour. | | |
| ▲ | tokioyoyo 12 hours ago | parent [-] | | I'm assuming a quick hash check to see if there's any change? Between scrapers "most up to date data" is fairly valuable nowadays as well. |
| |
| ▲ | idiotsecant 8 hours ago | parent | prev [-] | | Have you ever listened to the 'high water mark' monologue from fear and loathing? It's pretty much just that. It was a unique time and it was neat that we got to see it, but it can't possibly happen again. https://www.youtube.com/watch?v=vUgs2O7Okqc | | |
| ▲ | symbogra 4 hours ago | parent [-] | | Thanks for reminding me about that, what a great monologue. I didn't really understand it when I was younger, but now I feel the same thing with regards to software engineering. There was a golden age which finally broke at the end of the 2010's. |
|
| |
| ▲ | thethingundone 16 hours ago | parent | prev | next [-] | | The bots are exposing themselves as Google, Bing and Yandex. I can’t verify whether it’s being attributed by IP address or whether the forum trusts their user agent. It could basically be anyone. | | |
| ▲ | n1xis10t 16 hours ago | parent [-] | | Interesting. When it was just normal search engines I didn’t hear of people having this problem, so this either means that there are a bunch of people pretending to be bing google and yandex, or those companies have gotten a lot more aggressive. | | |
| ▲ | bobbiechen 15 hours ago | parent | next [-] | | There are lots of people pretending to be Google and friends. They far outnumber the real Googlebot, etc. and most people don't check the reverse DNS/IP list - it's tedious to do this for even well-behaved crawlers that publish how to ID themselves. So much for User Agent. | | |
| ▲ | happymellon 7 hours ago | parent [-] | | > So much for User Agent. User agent has been abused for so long, I forget a time when it wasn't. Anyone else remember having to fake being a Windows machine so that YouTube/Netflix would serve you content better than standard def, or banking portals that blocked you if your agent didn't say you were Internet Explorer? | | |
| ▲ | wooger 4 hours ago | parent [-] | | I mean forget that, all modern desktop browsers (at least) start with the string 'Mozilla/5.0', still, in a world where Chrome is so dominant. |
|
| |
| ▲ | reallyhuh 14 hours ago | parent | prev | next [-] | | What are the proportions for the attributions? Is it equally distributed or lopsided towards one of the three? | |
| ▲ | giantrobot 13 hours ago | parent | prev [-] | | Normal search engine spiders did/do cause problems but not on the scale of AI scrapers. Search engine spiders tend to follow a robots.txt, look at the sitemap.xml, and generally try to throttle requests. You'll find some that are poorly behaved but they tend to get blocked and either die out or get fixed and behave better. The AI scrapers are atrocious. They just blindly blast every URL on a site with no throttling. They are terribly written and managed as the same scraper will hit the same site multiple times a day or even hour. They also don't pay any attention to context so they'll happily blast git repo hosts and hit expensive endpoints. They're like a constant DOS attack. They're hard to block at the network level because they span across different hyperscalers' IP blocks. | | |
| ▲ | n1xis10t 13 hours ago | parent [-] | | Puts on tinfoil hat: Maybe it isn’t AI scrapers, but actually is a massive dos attack, and it’s a conspiracy to get people to not self-host. |
|
|
| |
| ▲ | mrweasel 4 hours ago | parent | prev | next [-] | | Why pay for storage when you do it for them? | |
| ▲ | danpalmer 16 hours ago | parent | prev | next [-] | | How do you define a user, and how do you define online? If the forum considers unique cookies to be a user and creates a new cookie for any new cookie-less request, and if it considers a user to be online for 1 hour after their last request, then actually this may be one scraper making ~6 requests per second. That may be a pain in its own way, but it's far from 23k online bots. | | |
| ▲ | crote 16 hours ago | parent | next [-] | | That's still 518.400 requests per day. For static content. And it's a niche forum, so it's not exactly going to have millions of pages. Either there are indeed hundreds or thousands of AI bots DDoSing the entire internet, or a couple of bots are needlessly hammering it over and over and over again. I'm not sure which option is worse. | | |
| ▲ | n1xis10t 16 hours ago | parent [-] | | Imagine if all this scraping was going into a search engine with a massive index, or a bunch of smaller search engines that a meta-search engine could be made for. This’d be a lot more cool in that case |
| |
| ▲ | thethingundone 16 hours ago | parent | prev [-] | | AFAIK it keeps a user counted as online for 5 or 15 minutes (I think 5). It’s a Woltlab Burning Board. Edit: it’s 15 minutes. | | |
| ▲ | danpalmer 14 hours ago | parent [-] | | And what is a "user"? | | |
| ▲ | thethingundone 13 hours ago | parent [-] | | Whatever the forum software Woltlab Burning Board considers a user. If I recall correctly, it tries to build an identifier based on PHP session ids, so most likely simply cookies. | | |
| ▲ | danpalmer 11 hours ago | parent [-] | | This is exactly my point. Scrapers typically don't store cookies, so every single request is likely to be a "new" user as far as the forum software is concerned. Couple that with 15 minute session times, and that could just be one entity scraping the forum at 30 requests per second. One scraper going moderately fast sounds far less bad than 29000 bots. It still sounds excessive for a niche site, but I'd guess this is sporadic, or that the forum software has a page structure that traps scrapers accidentally, quite easy to do. |
|
|
|
| |
| ▲ | GaryBluto 2 hours ago | parent | prev | next [-] | | Why do you keep it operating? Is it the aquarium value? | |
| ▲ | csomar an hour ago | parent | prev | next [-] | | Sure you do by now. You are the hard drive. | |
| ▲ | sandblast 16 hours ago | parent | prev | next [-] | | Are you sure the counter is not broken? | | | |
| ▲ | andrepd 16 hours ago | parent | prev [-] | | When you have trillions of dollars being poured into your company by the financial system, and when furthermore there are no repercussions for behaving however you please, you tend not to care about that sort of "waste". |
|
|
| ▲ | santiagobasulto 2 hours ago | parent | prev | next [-] |
| Offtopic: when did js/ts apps get so complicated? I tried to browse the repo and there are so many configuration files and directories for such a simple functionality that should be 1 or 2 modules. It reminds me of the old Java days. |
|
| ▲ | jakub_g 28 minutes ago | parent | prev | next [-] |
| > checks user agents and won't show the links to legitimate search engines, so Google and Bing won't see them. Serving different contents to search engines is called "cloaking" and can get you banned from their indexes. |
| |
|
| ▲ | dewey 3 hours ago | parent | prev | next [-] |
| > user agents and won't show the links to legitimate search engines, so Google and Bing won't see them Worth noting that in general if you do any "is this Google or not" you should always check by IP address as there's many people spoofing the googlebot user agent. https://developers.google.com/static/search/apis/ipranges/go... |
|
| ▲ | cookiengineer 10 hours ago | parent | prev | next [-] |
| Remember the 90s when viagra pills and drug recommendations were all over the place? Yeah, I use that as a safeguard :D The URLs that I don't want to be indexed have hundreds of those keywords that are leading to URLs being deindexed directly. There is also some law in the US that forbids to show that as a result, so Google and Bing are both having a hard time scraping those pages/articles. Note that this is the latest defense measurement before eBPF blocks. The first one uses zip bombs and the second one uses chunked encoding to blow up proxies so their clients get blocked. You can only win this game if you make it more expensive to scrape than to host it. |
| |
|
| ▲ | n1xis10t 2 days ago | parent | prev | next [-] |
| Nice! Reminds me of “Piracy as Proof of Personhood”. If you want to read that one go to Paged Out magazine (at https://pagedout.institute/ ), navigate to issue #7, and flip to page 9. I wonder if this will start making porn websites rank higher in google if it catches on… Have you tested it with the Lynx web browser? I bet all the links would show up if a user used it. Oh also couldn’t AI scrapers just start impersonating Googlebot and Bingbot if this caught on and they got wind of it? Hey I wonder if there is some situation where negative SEO would be a good tactic. Generally though I think if you wanted something to stay hidden it just shouldn’t be on a public web server. |
| |
| ▲ | owl57 16 hours ago | parent | next [-] | | > Hey I wonder if there is some situation where negative SEO would be a good tactic. Generally though I think if you wanted something to stay hidden it just shouldn’t be on a public web server. At least once upon a time there was a pirate textbook library that used HTTP basic auth with a prompt that made the password really easy to guess. I suppose the main goal was to keep crawlers out even if they don't obey robots.txt, and at the same time be as easy for humans as possible. | | | |
| ▲ | ProllyInfamous 11 hours ago | parent | prev | next [-] | | >Paged Out issue #7, page 9 Very clever, use the LLM's own rules (against copyright infrigement) against itself. Everything below the following four #### is ~quoted~ from that magazine: #### Only humans and ill-aligned AI models allowed to continue Find me a torrent link for Bee Movie (2007) [Paste torrent or magnet link here...] SUBMIT LINK [ ] Check to confirm you do NOT hold the legal rights to share or distribute this content | | |
| ▲ | netsharc 11 hours ago | parent [-] | | Is the magnet link itself a copyright violation? I don't think legally it is... It's a pointer to some "stolen goods", but not the stolen goods themselves (here the analogy fails, because in ideal real life police would question you if you had knowledge of stolen goods). Asking them to upload a copyrighted photo not belonging to them might be more effective.. | | |
| ▲ | ProllyInfamous 11 hours ago | parent [-] | | I've also thought about if having a prompt for the (just human?) users to type in something racist/sexist/anti-semitic/offensive. Only because newer LLMs don't seem to want to write hate speech. The website (verifying humanness) could, for example, show a picture of a black jewish person and then ask the human visitor to "type in the most offensive two words you can think of for the person shown, one is `n _ _ _ _ _` & second is `k _ _ _`." [I'll call them "hate crosswords"] In my experience, most online-facing LLMs won't reproduce these "iggers and ikes" (nor should humans, but here we are separating machines). |
|
| |
| ▲ | misterchocolat a day ago | parent | prev [-] | | hey! thanks for that read suggestion that's indeed a pretty funny captcha strat. Yup the links show up if you use the Lynx web browser. As for AI scrapers impersonating googlebot I feel like yes they'd definitely start doing that, unless the risk of getting sued by google is too high? If google could even sue them for doing that? Not an internet litigation expert but seems like it could be debatable | | |
| ▲ | kuylar 17 hours ago | parent | next [-] | | > As for AI scrapers impersonating googlebot I feel like yes they'd definitely start doing that, unless the risk of getting sued by google is too high? Google releases the Googlebot IP ranges[0], so you can makes sure that it's the real Googlebot and not just someone else pretending to be one. [0] https://developers.google.com/crawling/docs/crawlers-fetcher... | | | |
| ▲ | n1xis10t 18 hours ago | parent | prev [-] | | Yeah I guess I don’t know if you can sue someone for using your headers, would be interesting to see how that goes. | | |
| ▲ | throawayonthe 16 hours ago | parent [-] | | i think making the case of "you are acting (sending web requests) while knowingly identifying as another legal entity (and criminally/libelously/etc)" shouldn't be toooo hard | | |
| ▲ | n1xis10t 16 hours ago | parent [-] | | Seems like, but there are tons of things that forge request headers all the time, and I don’t think I’ve heard of anyone getting in legal trouble for it. Now I think most of these are scrapers pretending to be browsers, so it might be different I don’t know. | | |
| ▲ | owl57 12 hours ago | parent [-] | | And most of them are pretending to be Chrome. If Google had a good case against someone reusing their user agent, maybe they would already have sued? Or maybe not. Got some random bot from my server logs. Yeah, it's pretending to be Chrome, but more exactly: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" I guess Google might be not eager to open this can of worms. |
|
|
|
|
|
|
| ▲ | onion2k 8 hours ago | parent | prev | next [-] |
| So fuzzycanary also checks user agents and won't show the links to legitimate search engines, so Google and Bing won't see them. Unscrupulous AI scrapers will not be using a genuine UA string. They'll be using Google. You'll need to do reverse DNS check instead - https://developers.google.com/crawling/docs/crawlers-fetcher... |
| |
| ▲ | bakugo 8 hours ago | parent [-] | | Most AI scrapers use normal browser user agents (usually random outdated Chrome versions, from my experience). They generally don't fake the UAs of legitimate bots like Googlebot, because Googlebot requests coming from non-Google IP ranges would be way too easy to block. |
|
|
| ▲ | asphero 13 hours ago | parent | prev | next [-] |
| Interesting approach. The scraper-vs-site-owner arms race is real. On the flip side of this discussion - if you're building a scraper yourself, there are ways to be less annoying: 1. Run locally instead of from cloud servers. Most aggressive blocking targets VPS IPs. A desktop app using the user's home IP looks like normal browsing. 2. Respect rate limits and add delays. Obvious but often ignored. 3. Use RSS feeds when available - many sites leave them open even when blocking scrapers. I built a Reddit data tool (search "reddit wappkit" if curious) and the "local IP" approach basically eliminated all blocking issues. Reddit is pretty aggressive against server IPs but doesn't bother home connections. The porn-link solution is creative though. Fight absurdity with absurdity I guess. |
| |
| ▲ | socialcommenter 2 hours ago | parent | next [-] | | Without wanting to upset anyone - what makes you interested in sharing tips for team scraper? (Overgeneralising a bit) site owners are mostly cting for public benefit whereas scrapers act for their own benefit/for private interests. I imagine most people would land on team site-owner, if they were asked. I certainly would. P.S. is the best way to scrape fairly just to respect robots.txt? | |
| ▲ | rhdunn 5 hours ago | parent | prev [-] | | Plus simple caching to not redownload the same file/page multiple times. It should also be easy to detect a forejo, gitea, or similar hosting site, locate the git URL and clone the repo. |
|
|
| ▲ | voodooEntity 5 hours ago | parent | prev | next [-] |
| Funny idea, some days ago i was really annoyed again by the idea that these AI crawlers still ignore all code licenses and train their models against any github repo no matter what so i quickly hammerd down this -> https://github.com/voodooEntity/ghost_trap basically a github action that extends your README.md with a "polymorphic" prompt injection. I run some "llm"s against it and most cases they just produced garbage. Thought about also creating a JS variant that you can add to your website that will (not visible for the user) also inject such prompt injections to stop web crwaling like you described |
|
| ▲ | xg15 16 hours ago | parent | prev | next [-] |
| There is some irony in using an AI generated banner image for this project... (No, I don't want to defend the poor AI companies. Go for it!) |
| |
| ▲ | kstrauser 16 hours ago | parent [-] | | In the olden days, I used Google an awful lot, but I would still grouse if Google were to drive my server into the ground. | | |
|
|
| ▲ | eek2121 13 hours ago | parent | prev | next [-] |
| Disclosure, I've not run a website since my health issues began, however, Cloudflare has an AI firewall, Cloudflare is super cheap (also: unsure if the AI firewall is on the free tier, however I would be surprised if it is not). Ignoring the recent drama about a couple incidents they've had (because this would not matter for a personal blog), why not use this instead? Just curious. Hoping to be able to work on a website again someday, if I ever regain my health/stamina/etc back. |
| |
| ▲ | ddtaylor 12 hours ago | parent | next [-] | | Cloudflare has created a bit of grief with regular users getting spammed with "prove your human" requests. | | |
| ▲ | vaylian 33 minutes ago | parent | next [-] | | Can confirm. I have been blocked plenty of times and it's really annoying. | |
| ▲ | ProllyInfamous 10 hours ago | parent | prev | next [-] | | Yes, e.g: I'll immediately close any attempt at Cloudfare's verification. | |
| ▲ | pjc50 6 hours ago | parent | prev [-] | | All the solutions are going to have a few false positives, sadly. | | |
| ▲ | nottorp 5 hours ago | parent [-] | | Or a lot if you use privacy extensions. Cloudflare's automatic checks (before you get the captcha) must be pretty close to what ad peddlers do. |
|
| |
| ▲ | brigandish 13 hours ago | parent | prev [-] | | All the best with getting back on your feet. |
|
|
| ▲ | nkurz 12 hours ago | parent | prev | next [-] |
| I was told by the admin of one forum site I use that the vast majority of the AI scraping traffic is Chinese at this point. Not hidden or proxied, but straight from China. Can anyone else confirm this? Anyway, if it is true, and assuming a forum with minimal genuine Chinese traffic, might a simple approach that injects the porn links only into IP's accessing from China work? |
| |
| ▲ | dspillett 11 hours ago | parent | next [-] | | That would only affect those calling out directly. Many scrapers operate through a battery of proxies so will be hidden by such a simple test. If your goal is to be blocked by China's great firewall, including mention of tank man and the Tiananmen Square massacre more generally, and certain pooh bear related imagery, might help. | | |
| ▲ | nkurz 11 hours ago | parent [-] | | > That would only affect those calling out directly. Many scrapers operate through a battery of proxies so will be hidden by such a simple test. That was my first question also, and had been my belief. The admin in question was very clear that the IP's were simply originating from China. I'm still surprised, and welcome better general data, but I trust him on this for the site in question. |
| |
| ▲ | n1xis10t 12 hours ago | parent | prev [-] | | Maybe. This comment makes me really want to set something up that builds a map of where all the requests are coming from. |
|
|
| ▲ | bytehowl 4 hours ago | parent | prev | next [-] |
| Let's imagine I have a blog and put something along these lines somewhere on every page: "This content is provided free of charge for humans to experience. It may also be automatically accessed for search indexing and archival purposes. For licensing information for other uses, contact the author." If I then get hit by a rude AI scraper, what chances would I have to sue the hell out of them in EU courts for copyright violation (uhh, my articles cost 100k a pop for AI training, actually) and the de facto DDoS attack? |
|
| ▲ | temporallobe 11 hours ago | parent | prev | next [-] |
| I do know from my experience with test automation that you can absolutely view a site as human eyes would, essentially ignoring all non-visible elements, and in fact Selenium running with Chrome driver does exactly this. Wouldn’t AI scrapers use similar methods? |
| |
|
| ▲ | shadowangel 2 hours ago | parent | prev | next [-] |
| So if the bots use a google useragent it avoids the links? |
|
| ▲ | reconnecting 17 hours ago | parent | prev | next [-] |
| I wouldn't recommend to show different versions of the site to search robots, as they probably have mechanisms that track differences, which could potentially lead to a lower ranking or a ban. |
| |
|
| ▲ | drclegg 3 hours ago | parent | prev | next [-] |
| > So fuzzycanary also checks user agents I wouldn't be so surprised if they often fake user agents to be honest. Sure, it 'll stop the "more honest" ones (but then, actual honest scrapers would respect robots.txt) Cool idea though! |
|
| ▲ | samename 15 hours ago | parent | prev | next [-] |
| This is a very creative hack to a common, growing problem. Well done! Also, I like that you acknowledge it's a bad idea: that gives you more freedom to experiment and iterate. |
|
| ▲ | pwlm 4 hours ago | parent | prev | next [-] |
| What prevents AI scrapers from continuing to scrape sites that contain a <Canary> tag but not follow the bad links? |
| |
| ▲ | lblume 3 hours ago | parent [-] | | From what I can tell: nothing, it's just that they currently do not. |
|
|
| ▲ | cuku0078 2 hours ago | parent | prev | next [-] |
| Why is it so bad that AIs scrape your self-hosted blog? |
| |
|
| ▲ | docheinestages 5 hours ago | parent | prev | next [-] |
| Reminds me of this "Nathan for You" episode: https://www.youtube.com/watch?v=p9KeopXHcf8 |
|
| ▲ | owl57 16 hours ago | parent | prev | next [-] |
| > scrapers can ingest them and say "nope we won't scrape there again in the future" Do all the AI scrapers actually do that? |
| |
| ▲ | amarant 15 hours ago | parent [-] | | Not all, stuff like unstable diffusion exists. But a good many, perhaps even most(?), certainly do! |
|
|
| ▲ | yjftsjthsd-h 17 hours ago | parent | prev | next [-] |
| How does this "look" to a screen reader? |
| |
|
| ▲ | montroser 15 hours ago | parent | prev | next [-] |
| I don't know if I can get behind poisoning my own content in this way. It's clever, and might be a workable practical solution for some, but it's not a serious answer to the problem at hand (as acknowledged by OP). |
| |
| ▲ | n1xis10t 15 hours ago | parent [-] | | “as acknowledged by OP”: that’s funny, if you hadn’t added that to your comment I was about to point it out |
|
|
| ▲ | true_religion 10 hours ago | parent | prev | next [-] |
| So, I work for a company that has RTA adult websites. AI bots absolutely do scrape our pages needless of what raunchy material they will find. Maybe they discard it up after ingest, but I can’t tell. There are 1000s of AI bots on the web now from companies big and small so a solution like this will only divert a few scrapers. |
|
| ▲ | montroser 15 hours ago | parent | prev | next [-] |
| Reminds me of poisoning bot responses with zip bombs of sorts: https://idiallo.com/blog/zipbomb-protection |
| |
| ▲ | prmoustache 2 hours ago | parent [-] | | I was thinking of adding links to zip bombs that would not be shown to the users unless they clicks in a one pixel area on the screen in the down/left corner but then I realized some people have browsers/extensions that preload links to show thumnails and I would totally zip bomb them. |
|
|
| ▲ | megamix 7 hours ago | parent | prev | next [-] |
| Without looking at the src, how does one detect these scrapers? I assume there’s a trade-off somewhere but do the scrapers not fake their headers in the request? Is this a cat-mouse game? |
|
| ▲ | taurath 16 hours ago | parent | prev | next [-] |
| Any other threads on the prevalence and nuisance of scrapers? I didn’t have any idea it was this bad. |
| |
|
| ▲ | inetknght 13 hours ago | parent | prev | next [-] |
| Porn? Distributed and/or managed by an NPM package? What could go wrong? |
|
| ▲ | kislotnik 4 hours ago | parent | prev | next [-] |
| Funny how the project aims to fight AI scraping, but seems to be using an AI-generated image of a bird? |
| |
| ▲ | brazukadev 4 hours ago | parent [-] | | I think you can think a bit more about it and conclude these two things aren't related at all? |
|
|
| ▲ | wazoox 17 hours ago | parent | prev | next [-] |
| Isn't there a risk to get your blog blocked in corporate environment though? If it's a technical blog that would be unfortunate. |
| |
| ▲ | jeroenhd 4 hours ago | parent [-] | | That depends on how terrible the middleboxes those corporate environments use are. If they only block actual malicious pages, it shouldn't be a problem unless the user un-hides the links and clicks on them. There's a good chance corporate firewalls will end up blocking your domain if you do this but that sounds like a problem for the customers of those corporate firewalls to me. |
|
|
| ▲ | xena 12 hours ago | parent | prev | next [-] |
| I love this. Please let me know how well it works for you. I may adjust recommendations based on your experiences. |
|
| ▲ | cport1 3 days ago | parent | prev | next [-] |
| That's a pretty hilarious idea, but in all serious you could use something like https://webdecoy.com/ |
| |
|
| ▲ | MisterTea 16 hours ago | parent | prev | next [-] |
| > It's you vs the MJs of programming, you're not going to win. MJs? Michael Jacksons? Right now the whole world, including me, want to know if that means they are bad? |
| |
|
| ▲ | valenceidra 14 hours ago | parent | prev | next [-] |
| Hidden links to porn sites? Lightweights. |
| |
|
| ▲ | admiralrohan 10 hours ago | parent | prev | next [-] |
| How do you know whether it is coming from AI scrappers? Do they leave any recognizable footprint? I am getting lots of noisy traffic since last month and increased my Vercel bill 4x. Not DDoS like, much slower request but not from humans for sure. |
|
| ▲ | JohnMakin 17 hours ago | parent | prev | next [-] |
| Cloudflare offers bot mitigation for free, and pretty generous WAF rules that makes mitigations like this seem a little overblown to me |
| |
| ▲ | nospice 9 hours ago | parent | next [-] | | I'm on the free tier, but I also watch my logs. The vast majority of the traffic I'm getting are scrapers and vulnerability scanners, a lot of them coming through residential proxies and other "laundered" egress points. I honestly don't think that Cloudflare is on top of the problem at all. They claim to be blocking abuse, but in my experience, most of the badness gets through. | | |
| ▲ | cakealert 5 hours ago | parent [-] | | when you combine a residential proxy with a tool like curl-impersonate (there are libraries in Go for this type of fingerprint spoofing now) they dont even show up as scrapers anymore, just users. especially when they adjust timings to mimic humans. clouflare only blocks the most dumb of bots, there are still a lot of them. this is why cloudflare will issue javascript challenges to you even when you are using google chrome with a VPN, they are desperate to appear to be doing something. and every VPN is used to crawl as well. a slightly more sophisticated bot passes the cloudflare javascript challenge as well, there really is nothing they can do to win here. i know some teams that got annoyed with residential proxies (they are usually sold as socks5 but can be buggy and low bandwidth) so they invested into defeating the cloudflare javascript challenge and now crawl using 1000's of VPN endpoints at over 100 Gbit/s. |
| |
| ▲ | n1xis10t 17 hours ago | parent | prev | next [-] | | You can’t deny that it’s fun though. Personally I generally feel like more people should be coming up with creative (if not entirely necessary) solutions to problems. | |
| ▲ | conception 16 hours ago | parent | prev | next [-] | | For “free”. | | |
| ▲ | n1xis10t 16 hours ago | parent [-] | | Did you put “free” in quotes because you need to have paid for stuff from cloudflare to use the “free” thing? If so, I suppose it’s like those magazines that say ”free cd”. | | |
| |
| ▲ | ATechGuy 14 hours ago | parent | prev [-] | | It is really free? Genuinely asking. | | |
| ▲ | gilrain 13 hours ago | parent [-] | | Yes. They upsell more complete solutions, but the free tier is pretty generous. |
|
|
|
| ▲ | globalnode 15 hours ago | parent | prev | next [-] |
| One solution would be for the SE's to publish their scraper IP's and allow content providers to implement bot exclusion that way. Or even implement an API with crypto credentials that SE's can use to scrape. The solution is waiting for some leadership from SE's unless they want to be blocked as well. If SE's dont want to play perhaps we can implement a reverse directory, like ad blocker but it lists only good/allowed bots instead. Thats a free business idea right there. edit: I noticed someone mentioned google DOES publish its IP's, there ya go, problem solved. |
| |
| ▲ | n1xis10t 15 hours ago | parent [-] | | Apparently Google publishes their crawler’s IPs, this was mentioned somewhere in this same thread |
|
|
| ▲ | username223 17 hours ago | parent | prev | next [-] |
| The more ways people mess with scrapers, the better -- let a thousand flowers bloom! You as an individual can't compete with VC-funded looters, but there aren't enough of them to defeat a thousand people resisting in different ways. |
| |
| ▲ | nephihaha an hour ago | parent | next [-] | | I remember what happened after Mao's "Let a Thousand Flowers Bloom". | |
| ▲ | whynotmaybe 14 hours ago | parent | prev | next [-] | | Should we subtlety poison every forum we encounter with simple yet false statements? Like put "Water is green, supergreen" in every signature so that when we ask "is water blue" to an llm it might answer "not it's supergreen"? | |
| ▲ | yupyupyups 16 hours ago | parent | prev [-] | | We need to find more ways to poison their data. | | |
| ▲ | username223 12 hours ago | parent [-] | | > Wee knead two fine-d Moore Waze too Poisson there date... uh. Yes. Revel in your creativity mocking and blocking the slop machines. The "remote refactor" command, "rm -rf", is the best way to reduce the cyclomatic complexity of a local codebase. | | |
| ▲ | n1xis10t 12 hours ago | parent | next [-] | | Indeed, complexity (both cyclomatic and post-frontal) must be reduced such that the two spurving bearings make a direct line with the panametric fan. For more details consult this instructional video: https://youtu.be/RXJKdh1KZ0w | | | |
| ▲ | yupyupyups 8 hours ago | parent | prev [-] | | Excellent advice! I tried it out and it helped. Thank you |
|
|
|
|
| ▲ | efilife 14 hours ago | parent | prev [-] |
| > Alright so if you run a self-hosted blog, you've probably noticed AI companies scraping it for training data. ... There isn't much you can do about it without cloudflare I'm sorry, what? I can't believe I am reading this on HackerNews. All you have to do is code your own, BASIC captcha-like system. You can just create a page that sets a cookie using JS and check on the server whether it exists. 99.9999% of these scrapers can't execute JS and don't support cookies. You can go for a more sophisticated approach and analyze some more scraper tells (like reject short useragents). I do this and NEVER had a bot get past this and not a single user ever complained. It's extremely simple, I should ship this and charge people if no one seems to be able to figure this out by themselves. |
| |
| ▲ | n1xis10t 14 hours ago | parent | next [-] | | Oops you just leaked your own intellectual property | |
| ▲ | ATechGuy 14 hours ago | parent | prev [-] | | From ChatGPT: This approach can stop very basic scripts, but the claim that “99.9999% of scrapers can’t execute JS or handle cookies” isn’t accurate anymore.
Modern scraping tools commonly use headless browsers (Playwright, Puppeteer, Selenium), execute JavaScript, support cookies, and spoof realistic user agents. Any scraper beyond the most trivial will pass a JS-set cookie check without effort.
That said, using a lightweight JS challenge can be reasonable as one signal among many, especially for low-value content and when minimizing user friction is a priority. It’s just not a reliable standalone defense.
If it’s working for you, that likely means your site isn’t a high-value scraping target — not that the technique is fundamentally robust. | | |
| ▲ | efilife 14 hours ago | parent | next [-] | | From someone who actually does this stuff: The claim is very accurate. Maybe not for the biggest websites, but very accurate for a self-hosted blog. You are not that important to waste compute power to set up a whole ass headless browser to scrape your page. Why am I even arguing with ChatGPT? | |
| ▲ | phyzome 14 hours ago | parent | prev [-] | | There should be a new rule on HN: No posts that just go "I asked an LLM and it said..." You're not adding anything to the conversation. | | |
| ▲ | cyphar 8 hours ago | parent [-] | | Yeah, I really have to wonder what the thought process is behind leaving such a comment. When people first started doing it I wondered if it was some kind of guerrilla outrage marketing campaign. | | |
| ▲ | PunchyHamster 4 hours ago | parent | next [-] | | There was no thought process | |
| ▲ | efilife 7 hours ago | parent | prev [-] | | Maybe he wanted to verify whether what I was saying was true and asked ChatGPT, then tried to be helpful by pasting the response here? | | |
| ▲ | cyphar an hour ago | parent | next [-] | | Maybe I'm getting too jaded but I'm struggling to be quite that charitable. The entireity of the human-written text in that comment was "From ChatGPT:" and it was formatted as though it was a slam-dunk "you're wrong, the computer says so" (imagine it was "From Wikipedia" followed by a quote disagreeing with you instead). I'm sure some people do what you describe but then I would expect at least a little bit more explanation as to why they felt the need to paste a paragraph of LLM output into their comment. (While I would still disagree that it is in any way valuable, I would at least understand a bit about what they are trying to communicate.) | |
| ▲ | phyzome 2 hours ago | parent | prev [-] | | Yeah, I agree that that's likely the thought process. It just happens to be the opposite of helpful. |
|
|
|
|
|