3 ms·
The linked repo requires manual ratings. There's a way to grab your upvoted posts programatically, but it requires scraping, which can get your IP banned if don
by izzygonzalez 5y ago
The linked repo requires manual ratings. There's a way to grab your upvoted posts programatically, but it requires scraping, which can get your IP banned if done incorrectly. There doesn't seem to be an endpoint for access to private HN data.
Here's a recent example of an implementation of the scraping method: https://github.com/davenicoll/hackernews-to-raindrop/blob/main/import-hackernews-to-raindrop.py https://github.com/davenicoll/hackernews-to-raindrop/blob/ma...
- pacifika 5y agoThe github instructions mention a scrape old script so perhaps that would warrant a notice as well.
- binarysneaker 5y agoThanks for the mention :) Just wanted to point out that I run that script once a day.