diff --git a/src/router.types.d.ts b/src/router.types.d.ts index 66dd5f5..465395f 100644 --- a/src/router.types.d.ts +++ b/src/router.types.d.ts @@ -85,8 +85,8 @@ export type RouterType = { word: string; word_scheme: string; note: string; - category: string; - raw_hot: number; + flag_desc: string; + num: number; onboard_time: number; }; zhihu: { diff --git a/src/routes/weibo.ts b/src/routes/weibo.ts index 51b99ac..ac3399a 100644 --- a/src/routes/weibo.ts +++ b/src/routes/weibo.ts @@ -32,9 +32,9 @@ const getList = async (noCache: boolean) => { id: v.mid, title: v.word, desc: v.note || key, - author: v.category, + author: v.flag_desc, timestamp: getTime(v.onboard_time), - hot: v.raw_hot, + hot: v.num, url: `https://s.weibo.com/weibo?q=${encodeURIComponent(key)}&t=31&band_rank=1&Refer=top`, mobileUrl: `https://s.weibo.com/weibo?q=${encodeURIComponent( key,