mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
fix(zhihu): hot error
This commit is contained in:
@@ -33,7 +33,7 @@ const getList = async (noCache: boolean) => {
|
||||
desc: data.excerpt,
|
||||
cover: v.children[0].thumbnail,
|
||||
timestamp: getTime(data.created),
|
||||
hot: parseInt(v.detail_text.replace(/[^\d]/g, "")) * 10000,
|
||||
hot: parseFloat(v.detail_text.split(' ')[0]) * 10000,
|
||||
url: `https://www.zhihu.com/question/${data.id}`,
|
||||
mobileUrl: `https://www.zhihu.com/question/${data.id}`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user