From 5bb9ac6235d6ffd48ea813a8bdf57e543e315f98 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: Fri, 29 Jul 2022 16:15:45 +0800 Subject: [PATCH] =?UTF-8?q?weibo,bilibili=E5=90=8E=E6=B7=BB=E5=8A=A0hotban?= =?UTF-8?q?d=EF=BC=9B=E4=BF=AE=E6=94=B9html=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/{bilibili.html => bilibili_hotband.html} | 2 +- html/{weibo.html => weibo_hotband.html} | 2 +- index.html | 6 +++--- src/get_bilibili_hotband.js | 15 +++++++++------ src/get_weibo_hotband.js | 15 +++++++++------ 5 files changed, 23 insertions(+), 17 deletions(-) rename html/{bilibili.html => bilibili_hotband.html} (99%) rename html/{weibo.html => weibo_hotband.html} (99%) diff --git a/html/bilibili.html b/html/bilibili_hotband.html similarity index 99% rename from html/bilibili.html rename to html/bilibili_hotband.html index 85786e9..364158d 100644 --- a/html/bilibili.html +++ b/html/bilibili_hotband.html @@ -192,7 +192,7 @@ function getData() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "../data/bilibili/latest.json?t=" + Date.now(), true); + xhr.open("GET", "../data/bilibili-hotband/latest.json?t=" + Date.now(), true); xhr.send(); xhr.onreadystatechange = function () { if (xhr.readyState !== 4) return; diff --git a/html/weibo.html b/html/weibo_hotband.html similarity index 99% rename from html/weibo.html rename to html/weibo_hotband.html index 275ceb2..dfb9105 100644 --- a/html/weibo.html +++ b/html/weibo_hotband.html @@ -201,7 +201,7 @@ function getData() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "../data/weibo/latest.json?t=" + Date.now(), true); + xhr.open("GET", "../data/weibo-hotband/latest.json?t=" + Date.now(), true); xhr.send(); xhr.onreadystatechange = function () { if (xhr.readyState !== 4) return; diff --git a/index.html b/index.html index abfc0b2..f1af8d0 100644 --- a/index.html +++ b/index.html @@ -74,11 +74,11 @@
-