by jedberg · 7y ago · 0 comments
At Reddit we originally blocked a couple of crawlers but then realized how pointless that was. The entire robots file[0] is basically now just for google. All of the restrictions are enforced on the server side because there were so many bad bots it didn’t matter if we listed them or not.
He explained it a bit on a Twitter thread [1] where I brought it up a while back and it sounds like they didn't like the fact that he was using GitHub to host XML files for another service because of the traffic from crawlers it created.
Allow: /humans.txt
Disallow: /
Nice!
For sure, but that's great, shame can be very effective.
$ curl -sIXGET 'https://www.reddit.com/robots.txt' -H 'cookie: rseor3=true;' | head -1
HTTP/2 501
Compare with: $ curl -sIXGET 'https://www.reddit.com/robots.txt' | head -1
HTTP/2 200