Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Mar 31, 2024
1 parent 72f420f commit bb16033
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@

> 了解社区最新动态,掌握摸鱼最佳姿势。
本项目定期采集 V2EX/HackerNews 站点的热帖,在线浏览地址:
## 订阅

- https://github.com/jiacai2050/mofish/labels/posts
- https://t.me/mofish_break
- 历史数据(2022-08-20 前)可在这里查看
- https://groups.google.com/g/mo-fish
- https://discord.gg/AuvBvp5zgJ
- https://groups.google.com/g/mo-fish

## 数据源

定期抓取
- https://www.v2ex.com/api/topics/hot.json
- https://hacker-news.firebaseio.com/v0/topstories.json
- https://hacker-news.firebaseio.com/v0/beststories.json

## 注意⚠️

Expand Down
3 changes: 0 additions & 3 deletions actions/hacker-news/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ async function fetch_posts() {
console.error(e);
}

// let top_ids = [24304275];
// let best_ids = [24303322, 24303779];

let total_ids = top_ids.concat(best_ids);
total_ids = new Set(total_ids);
console.log(`ids length = ${total_ids.size}`);
Expand Down

0 comments on commit bb16033

Please sign in to comment.