mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
🐞 fix: 部分类型错误
- 新增 米游社 综合接口
This commit is contained in:
@@ -44,10 +44,10 @@ const getList = async (noCache: boolean) => {
|
||||
title: dom.find(".newsbody h2").text().trim(),
|
||||
desc: dom.find(".newsbody p").text().trim(),
|
||||
cover: dom.find("img").attr("data-original"),
|
||||
timestamp: getTime(dateTime),
|
||||
timestamp: getTime(dateTime || 0),
|
||||
hot: Number(dom.find(".comment").text().replace(/\D/g, "")),
|
||||
url: href || undefined,
|
||||
mobileUrl: href ? replaceLink(href) : undefined,
|
||||
url: href || "",
|
||||
mobileUrl: href ? replaceLink(href) : "",
|
||||
};
|
||||
});
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user