Show HN: Fetchpost – Save HN post and comments as mails in maildir format(asciinema.org)
asciinema.org
Show HN: Fetchpost – Save HN post and comments as mails in maildir format
https://asciinema.org/a/593u87rrsa3mevktyekepm4ke
2 comments
> 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?
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?
Ah, I missed that, sorry. D'uh, you actually have a global right up top called HN_API_URL.
This is useful, should be more upvoted.
It 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