Is returning a 403 based on the user agent worth a blog post? Also, can't Bytespider just change their user agent to Byte-Spider? Or, just make their user agent a random string? It will be a forever arms race and require constant code updates to keep chasing that bot by user agent. You're probably better off whitelisting the known user agents and blocking everything else. Also, does it really require a specific "gem"…
How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
11–20 of 23 posts
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#12Can large companies not be faulted for ignoring robots.txt? Seems like something GDPR could enforce for personal(ly owned) sites?
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#13Can large companies not be faulted for ignoring robots.txt? Seems like something GDPR could enforce for personal(ly owned) sites?
https://www.nerdcrawler.com/robots.txt
The domain serving the images is allowing everything:
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#14This is the worst behaved bot I have ever seen, I suspect it is AI related. I recently decided to block all the AI crawlers - unlike search engines I get nothing from them.
Same! Any chance you can share a list of the bots you're blocking so I can add them too?
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#15Is returning a 403 based on the user agent worth a blog post? Also, can't Bytespider just change their user agent to Byte-Spider? Or, just make their user agent a random string? It will be a forever arms race and require constant code updates to keep chasing that bot by user agent. You're probably better off whitelisting the known user agents and blocking everything else. Also, does it really require a specific "gem"…
Also why should they not respect the 403? Crawlers just go to anything they can find. It is not a targeted attack.
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#16Earlier quoted context omitted.
Same! Any chance you can share a list of the bots you're blocking so I can add them too?
ClaudeBot (second worst crawler) and GPTBot are the only ones that identify themselves in an obvious way. The rest I am blocking by network. I assume AI when the crawler is very aggressively downloading images - it must be costing them an absolute fortune!
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#17However, surely they have enough smart engineers there to realize that running a bot at full speed (and, based on other reports, completely ignoring robots.txt) will get them blocked by a lot of sites.
If they just had a well behaved spider, almost no one would mind. Getting crawled is a fact of life on the internet, and most website owners recognize it as an essential cost of doing busses. Once you get a reputation as a bad spider, though, that is very hard to shake.
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#18Is it just me or is that site a bit broken? Weirdly dark. Edit: Nice try on the vote brigade guys. lol
Yeah...I suck at optimizing for dark mode and I think I'm about to get too much traffic from this post so I can't fix it right now. Probably a tomorrow task haha
Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#19Re: How we blocked TikTok's Bytespider bot and cut our bandwidth by 80%
#20Earlier quoted context omitted.
Yeah...I suck at optimizing for dark mode and I think I'm about to get too much traffic from this post so I can't fix it right now. Probably a tomorrow task haha
quickest fix is to change the text to a light gray.