TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Trunk.ly launches a Hacker News connector

4 点作者 tbull007将近 14 年前

1 comment

tbull007将近 14 年前
Background: Trunk.ly is a social bookmarking service that is highly automated and powered by full-text search. For example, you connect it to Twitter, Trunk.ly automatically extracts the links you share and crawls them building a search index for you.<p>We decided to release a connector to Hacker News for Trunk.ly and scratch our own itch.<p>The Hacker News connector scrapes anything appearing under "saved stories" and adds the source link into Trunk.ly, indexing it so you can always easily find the link again.<p>A couple of quick notes - we know that this is NOT the most secure solution in the world. To do this, we have to scrape the site on a regular interval as you. So we have to store your username and password. We encrypt this and take other general precautions, but I highly recommend that you use a different password for HN from other sites as an additional precaution.<p>It would be great if there was some nice "third party" way of accessing that useful content, either via OAuth or even just using some API key or something.<p>There are some limitations: * we don't back crawl every story you've ever saved as this could be a large number of pages and we don't want to harm the server. We limit it to the last 200 stories total. * we only support the default HN username and password (no clickpass). We can do click pass if enough people want it. * there is no submission date I could see to scrape, so stories will be stored in Trunk.ly as at todays date.<p>Let us know what you think.<p>Credit: Partially based on the work of <a href="https://github.com/edparcell/HNScraper" rel="nofollow">https://github.com/edparcell/HNScraper</a>