Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fast scraping in Python with Asyncio. Parent comment
Copypasta of dead comment:
nashequilibrium 13 hours ago | link [dead]
rp = robotparser.RobotFileParser()
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
There are no comments on this comment yet.
Copypasta of dead comment:
nashequilibrium 13 hours ago | link [dead]
rp = robotparser.RobotFileParser()
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