Skip to content

Comment on Show HN: Submit to Hacker News | Browser Extension

Comments

The HN API is not efficient - it says so itself in its readme. Which means neither is this. Making 1000+ HTTP requests to dupe check feels kind of insane when all you are doing is URL comparisons.

Why not instead make a single call to: https://news.ycombinator.com/from?site=whateverdomain.com, and parse that single result?

wbnnsOP

Thanks so much, I've just refactored to do exactly this, based on your comment: https://github.com/wbnns/submit-to-hacker-news/commit/1afd66...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.