更新说明

This commit is contained in:
imsyy 2023-03-14 16:25:18 +08:00
parent 583f7f4b4f
commit 591fa24079
2 changed files with 11 additions and 1 deletions

View File

@ -30,6 +30,16 @@
| 36氪 | 热榜 | 36kr | 🟢 | | 36氪 | 热榜 | 36kr | 🟢 |
| 腾讯新闻 | 热点榜 | newsqq | 🔴 | | 腾讯新闻 | 热点榜 | newsqq | 🔴 |
## 部署
```js
// 安装依赖
pnpm install
// 运行
pnpm start
```
## 调用 ## 调用
### 获取榜单数据 ### 获取榜单数据

View File

@ -20,7 +20,7 @@ const getData = (data) => {
id: v.bvid, id: v.bvid,
title: v.title, title: v.title,
desc: v.desc, desc: v.desc,
pic: v.pic, pic: v.pic.replace(/http:/, "https:"),
owner: v.owner, owner: v.owner,
data: v.stat, data: v.stat,
url: v.short_link, url: v.short_link,