by carbocation · 12y ago · 0 comments
User-Agent: *
Disallow: /x?
Disallow: /vote?
Disallow: /reply?
Disallow: /submitted?
Disallow: /submitlink?
Disallow: /threads?
Crawl-delay: 30
So nominally you should feel free to set up a scraper that crawls one non-disallowed resource every 30 seconds.It would be good to have a way to download ALL your stuff. Ask PG?
What is a safe limit to crawl this data, if I have to absolutely need that data? 30 mins between users? 1 hour between users?
rp.set_url("https://news.ycombinator.com/news/robots.txt")
rp.read()
# Reads the robots.txt
rp.can_fetch("*", 'https://news.ycombinator.com/news')
>>>> True