diff --git a/assets/bilibili.gif b/assets/bilibili.gif new file mode 100644 index 0000000..dbd64be --- /dev/null +++ b/assets/bilibili.gif @@ -0,0 +1,959 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + miracles/bilibili.gif at master · BigCoke233/miracles · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + + + + + + + +
+ +
+ + + + + +
+ + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+ +
+ +
+

+ + + / + + miracles + + +

+ + +
+ + + +
+ + +
+ + +
+
+ + + + + +
+ + + + Permalink + + + +
+ +
+
+ + + master + + + + +
+ + + +
+
+
+ +
+ + + + Go to file + + +
+ + +
+ +
+ + + +
+ +
+
+
 
+
+ +
+
 
+ Cannot retrieve contributors at this time +
+
+ + + + + + +
+ +
+
+ + 119 KB +
+ +
+ +
+ Download +
+ +
+ + + + +
+ +
+
+
+ + + +
+
+ bilibili.gif +
+
+ +
+ + + +
+ + +
+ + +
+
+ + +
+ + + +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + diff --git a/dist/bilibili-bangumi.js b/dist/bilibili-bangumi.js index 2bdabf3..0ea5c1d 100644 --- a/dist/bilibili-bangumi.js +++ b/dist/bilibili-bangumi.js @@ -1 +1 @@ -/*! Bilibili-Bangumi-JS v1.0.1 | Hans362 (https://hans362.cn) | https://bilibili-bangumi-js.vercel.app | MIT License */"use strict";var bangumiJson=(apiUrl||"https://bilibili-bangumi-js.vercel.app/api")+"?vmid="+userId+"&token="+(new Date).getTime()+Math.random();$.getJSON(bangumiJson,function(e){$.each(e.data.list,function(e,s){var i=0;s.is_finish?i=s.total_count:s.is_started&&"即将开播"!=s.new_ep.index_show?(i=s.new_ep.title,$.isNumeric(i)||(i=s.total_count)):i=0,i<0&&(i=0);var t=0;s.is_started?0<=s.progress.indexOf("已看完")?t=i:void 0!==s.progress&&-1==s.progress.indexOf("PV")?(t=s.progress.substring(s.progress.indexOf("第")+1,s.progress.indexOf("话")),$.isNumeric(t)||(t=i)):t=0:t=0;var n=t/i*100,a=s.cover.replace("http","https");$("#bgm-collection").append('\n \n \n
\n '+s.title+'\n '+s.evaluate+'\n
\n
\n 进度:'+t+" / "+i+"\n
\n
\n
\n ")})}); \ No newline at end of file +/*! Bilibili-Bangumi-JS v1.0.1 | Hans362 (https://hans362.cn) | https://bilibili-bangumi-js.vercel.app | MIT License */"use strict";var bangumiJson=(apiUrl||"https://bilibili-bangumi-js.vercel.app/api")+"?vmid="+userId+"&token="+(new Date).getTime()+Math.random();$.getJSON(bangumiJson,function(e){$("#bgm-collection").empty(),$.each(e.data.list,function(e,s){var t=0;s.is_finish?t=s.total_count:s.is_started&&"即将开播"!=s.new_ep.index_show?(t=s.new_ep.title,$.isNumeric(t)||(t=s.total_count)):t=0,t<0&&(t=0);var i=0;s.is_started?0<=s.progress.indexOf("已看完")?i=t:void 0!==s.progress&&-1==s.progress.indexOf("PV")?(i=s.progress.substring(s.progress.indexOf("第")+1,s.progress.indexOf("话")),$.isNumeric(i)||(i=t)):i=0:i=0;var n=i/t*100,a=s.cover.replace("http","https");$("#bgm-collection").append('\n \n \n
\n '+s.title+'\n '+s.evaluate+'\n
\n
\n 进度:'+i+" / "+t+"\n
\n
\n
\n ")})}); \ No newline at end of file diff --git a/index.html b/index.html index 2750355..a246782 100644 --- a/index.html +++ b/index.html @@ -141,6 +141,7 @@

以下为作者本人的 Bilibili 追番进度:

+
diff --git a/src/bilibili-bangumi.js b/src/bilibili-bangumi.js index 99c2423..cf2e551 100644 --- a/src/bilibili-bangumi.js +++ b/src/bilibili-bangumi.js @@ -1,6 +1,7 @@ var bangumiJson = (apiUrl || "https://bilibili-bangumi-js.vercel.app/api") + "?vmid=" + userId + "&token=" + new Date().getTime() + Math.random(); $.getJSON(bangumiJson, function (data) { + $("#bgm-collection").empty(); $.each(data.data.list, function (index, value) { var total = 0; if (value.is_finish) {