Show HN: Fetchpost – Save HN post and comments as mails in maildir format (asciinema.org) 9 points by nazri1 10y ago ↗ HN
[–] akkartik 10y ago ↗ Clickable repo: https://github.com/holygeek/fetchpostIt doesn't look like you're using the HN API. Perhaps you should? Here's a library from a quick google: https://github.com/cryptix/gohn [–] nazri1 10y ago ↗ > It doesn't look like you're using the HN API.Sorry I don't get what you mean. The comments are fetched by making REST requests to https://hacker-news.firebaseio.com/v0/, so it is using the HN API isn't it? [–] akkartik 10y ago ↗ Ah, I missed that, sorry. D'uh, you actually have a global right up top called HN_API_URL.
[–] nazri1 10y ago ↗ > It doesn't look like you're using the HN API.Sorry I don't get what you mean. The comments are fetched by making REST requests to https://hacker-news.firebaseio.com/v0/, so it is using the HN API isn't it? [–] akkartik 10y ago ↗ Ah, I missed that, sorry. D'uh, you actually have a global right up top called HN_API_URL.
[–] akkartik 10y ago ↗ Ah, I missed that, sorry. D'uh, you actually have a global right up top called HN_API_URL.
4 comments
[ 3.8 ms ] story [ 16.6 ms ] threadIt doesn't look like you're using the HN API. Perhaps you should? Here's a library from a quick google: https://github.com/cryptix/gohn
Sorry I don't get what you mean. The comments are fetched by making REST requests to https://hacker-news.firebaseio.com/v0/, so it is using the HN API isn't it?