3 ms·
This looks amazing! Good job! If I may ask(yes I have taken a look at your code but unfortunately my python is not too good), whats the "secret" to grabbing HN'
by clockwork_189 14y ago
This looks amazing! Good job! If I may ask(yes I have taken a look at your code but unfortunately my python is not too good), whats the "secret" to grabbing HN's historic data? Also, would it be possible to go back beyond one month towards maybe a year or even few years back (idk if it is just me but I can go up until October 9th, 2012)?
Thanks!
- kami8845 14y agohttps://github.com/doda/rewindhn/blob/master/scrape.py#L26 https://github.com/doda/rewindhn/blob/master/scrape.py#L26 This is where the scraping happens. The code is a little uglier than I'd like, but that's largely to do with the hard-extract-data from HN markup. I'll look at adding more data soon.