mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
🐞 fix: 修复哔哩哔哩无法获取
This commit is contained in:
@@ -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 模式
|
||||
@@ -50,7 +50,7 @@
|
||||
| 崩坏:星穹铁道 | 最新动态 | starrail | 🟢 |
|
||||
| 微信读书 | 飙升榜 | weread | 🟢 |
|
||||
| NGA | 热帖 | ngabbs | 🟢 |
|
||||
| HelloGitHub | Trending | github | 🟢 |
|
||||
| HelloGitHub | Trending | hellogithub | 🟢 |
|
||||
|
||||
## 部署
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user