Author should have a look at https://github.com/HackerNews/API instead of scraping HN
The HN API is linked to from every page on HN, at the bottom of the page in the footer. Look for the link named “API”.
The HN API is linked to from every page on HN, at the bottom of the page in the footer. Look for the link named “API”.