From 1c70c884067624f3c87fa5ceb877386ff36aa2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Thu, 28 Jul 2022 23:13:21 +0800 Subject: [PATCH] =?UTF-8?q?B=E7=AB=99=20=E5=89=8D=E7=AB=AF=E9=A1=B5?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/bilibili.html | 239 +++++++++++++++++++++++++++++++++++- html/weibo.html | 3 +- src/get_bilibili_hotband.js | 3 +- 3 files changed, 239 insertions(+), 6 deletions(-) diff --git a/html/bilibili.html b/html/bilibili.html index 604ae10..c09ee7b 100644 --- a/html/bilibili.html +++ b/html/bilibili.html @@ -40,11 +40,22 @@
显示字段: + + +
| -
@@ -55,8 +66,7 @@ @@ -64,6 +74,229 @@
+ diff --git a/html/weibo.html b/html/weibo.html index be75868..3c21e8b 100644 --- a/html/weibo.html +++ b/html/weibo.html @@ -82,8 +82,7 @@ diff --git a/src/get_bilibili_hotband.js b/src/get_bilibili_hotband.js index 9d29daa..3de3a4a 100644 --- a/src/get_bilibili_hotband.js +++ b/src/get_bilibili_hotband.js @@ -107,7 +107,8 @@ async function main() { fs.writeFileSync(`${DATA_FOLDER}/latest.json`, JSON.stringify({ update_time: requestTimestamp, update_time_friendly: now.substring(0, 19).replace(/T/g, " "), - data: data + data: data.list, + exp_str: data.exp_str, })); }