Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by andrethegiant

5 months 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/Robot...

0 comments

andrethegiant

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities