Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did, and with that, I had also included that Python code in GitHub, which uses the same implementation as the OP: https://github.com/minimaxir/hacker-news-download-all-storie...

Fun fact: At 10,000 calls/hour and 1,000 objects per request, you can download all stories AND comments in less than an hour.

As an aside: I tried to use ML on Hacker News stories and have had exactly zero success. (i.e. the predictive models are not statistically significantly better than the NIR)



If you prefer the Python approach, I have forked minimaxir's code to work for comments:

https://github.com/jaredsohn/hacker-news-download-all-commen...

I have a few other things in the works related to the hnsearch API (had them almost ready for release a few months ago but then I got distracted); this post is persuading me to finish them up soon. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: