4 ms·
I’m working on a centralized platform[1] to help web crawlers be polite by default by respecting robots.txt, 429s, etc, and sharing a platform-wide TTL cache ju
by andrethegiant 2y ago
I’m working on a centralized platform[1] to help web crawlers be polite by default by respecting robots.txt, 429s, etc, and sharing a platform-wide TTL cache just for crawlers. The goal is to reduce global bot traffic by providing a convenient option to crawler authors that makes their bots play nice with the open web.
[1] https://crawlspace.dev https://crawlspace.dev
- subarctic 2y agoHow does it compare to common crawl?
- andrethegiant 2y agoCommonCrawl’s data is up to a month old. Here you can write a custom crawler, and have a REST/RAG API that you can use with your apps and agents for the data that your crawler finds. All the while, it builds up a platform-wide cache, so duplicate/redundant requests don’t reach their origin servers.
- philipwhiuk 2y agoAre you sure you're not just encouraging more people to run them?
- andrethegiant 2y agoEven so, traffic funnels through the same cache, so website owners would see the same amount of hits whether there was 1 crawler or 1000 crawlers on the platform
- philipwhiuk 2y agoSo you're forcing me and OP to sign-up for the protection racket.... Thanks
- jsheard 2y ago> respecting robots.txt What agent name should we put in robots.txt to deny your crawler without using a wildcard? I can't see that documented anywhere.
- andrethegiant 2y agoThanks for the feedback, it’s mentioned in the platform FAQ but I should make it more prominent in the docs. The UA will always be prefixed with the string `Crawlspace`. May I ask why you’d want to block it, even if it crawls respectfully?
- jsheard 2y agoThe bot having "Crawlspace" in its UA doesn't necessarily mean it honors "Crawlspace" directives in robots.txt. Would it bail out if it saw this robots.txt? User-agent: Crawlspace Disallow: / > May I ask why you’d want to block it, even if it crawls respectfully? The main audience for the product seems to be AI companies, and some people just aren't interested in feeding that beast. Lots of sites block Common Crawl even though their bot is usually polite. https://originality.ai/ai-bot-blocking https://originality.ai/ai-bot-blocking
- andrethegiant 2y ago> Would it bail out if it saw this robots.txt? Yes, it should — I use the library below, and it should split at the slash character, treating it as a prefix match, per spec. https://github.com/samclarke/robots-parser/blob/master/Robots.js#L68 https://github.com/samclarke/robots-parser/blob/master/Robot...