Skip to content

Commit

Permalink
🐞 fix: 修复哔哩哔哩无法获取
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Apr 10, 2024
1 parent 34ab73a commit f62b4ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div align="center">
<img alt="logo" height="120" src="./public/favicon.png" width="120"/>
<h2>今日热榜</h2>
<p size="20">今日热榜</p>
<p>一个聚合热门数据的 API 接口</p>
</div>

---
## 特性

- 极快响应,便于开发
- 支持 RSS 模式和 JSON 模式
Expand Down Expand Up @@ -50,7 +50,7 @@
| 崩坏:星穹铁道 | 最新动态 | starrail | 🟢 |
| 微信读书 | 飙升榜 | weread | 🟢 |
| NGA | 热帖 | ngabbs | 🟢 |
| HelloGitHub | Trending | github | 🟢 |
| HelloGitHub | Trending | hellogithub | 🟢 |

## 部署

Expand Down
2 changes: 1 addition & 1 deletion src/routes/bilibili.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const handleRoute = async (c: ListContext, noCache: boolean) => {

const getList = async (options: Options, noCache: boolean) => {
const { type } = options;
const url = `https://api.bilibili.com/x/web-interface/ranking/v2?rid=${type}`;
const url = `https://api.bilibili.com/x/web-interface/ranking/v2?tid=${type}`;
const result = await get({
url,
headers: {
Expand Down

0 comments on commit f62b4ff

Please sign in to comment.