3 ms·
Using the algolia api https://hn.algolia.com/api/v1/search?tags=author_ilaksh,comment&hitsPerPage=50 https://hn.algolia.com/api/v1/search?tags=author_ilaksh,co
by SushiHippie 2y ago
Using the algolia api
https://hn.algolia.com/api/v1/search?tags=author_ilaksh,comment&hitsPerPage=50 https://hn.algolia.com/api/v1/search?tags=author_ilaksh,comm...
You'll need to paginate it, as it's limited to 50 results per page, like so:
https://hn.algolia.com/api/v1/search?tags=author_ilaksh,comment&hitsPerPage=50&page=1
- krapp 2y agoOr HN's actual API, which isn't rate limited: https://github.com/HackerNews/API https://github.com/HackerNews/API
- SushiHippie 2y agoYes, but with the algolia API, you'll need to make way fewer requests, as you'll get up to 50 comments per API call + you also get the title and URL of the post where this comment was posted in the same call.