Skip to content

Commit

Permalink
修改 api
Browse files Browse the repository at this point in the history
  • Loading branch information
wansho committed Nov 9, 2020
1 parent 4bed8c0 commit b9753c6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ Bilibili-Helper 是一款 致力于为 B 站用户提供人性化逛站工具的

本人喜欢在 B 站上看英雄联盟比赛的录播,苦于录播时间长,往往需要手动拉进度条,找开团的时间点,于是我干脆自己做了一个插件,通过弹幕热度,帮助自己找到视频热点。效果如图:

<p align="center">
<a href="https://wansho-blog-pic.oss-cn-beijing.aliyuncs.com/bilibili-helper/%E5%BC%B9%E5%B9%95%E7%83%AD%E5%BA%A6%E5%AE%9A%E4%BD%8D.jpg">
<img src="https://wansho-blog-pic.oss-cn-beijing.aliyuncs.com/bilibili-helper/%E5%BC%B9%E5%B9%95%E7%83%AD%E5%BA%A6%E5%AE%9A%E4%BD%8D.jpg">
</a>
</p>
![image-20201109110356251](assets/image-20201109110356251.png)


该插件能够在视频加载完成后,在视频下方生成一个弹幕热度图,通过弹幕热度,我们可以比较准确的定位视频的热点,上图的比赛中,开局后的每一个弹幕峰值,往往都是一次团战或者击杀。

Expand All @@ -34,11 +31,8 @@ Bilibili-Helper 是一款 致力于为 B 站用户提供人性化逛站工具的

## Tutorial

<p align="center">
<a href="https://wansho-blog-pic.oss-cn-beijing.aliyuncs.com/bilibili-helper/tutorial.jpg">
<img src="https://wansho-blog-pic.oss-cn-beijing.aliyuncs.com/bilibili-helper/tutorial.jpg">
</a>
</p>
<img align="left" src="assets/image-20201109110415727.png" alt="image-20201109110415727" style="zoom: 67%;" />


打开 弹幕热度开关 即可放心食用弹幕热度插件。

Expand Down
Binary file added assets/image-20201109110356251.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20201109110415727.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ chrome.extension.onMessage.addListener(

function send_Ajax(url_param){
$.ajax({
url: "http://sentiweibo.top/bilibili_helper/", // http://127.0.0.1:8000/bilibili_helper/
url: "http://bili.wansho.top/", //
type: "GET",
dataType: "json", // 是请求后,返回的数据将以json格式显示
data: url_param,
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name" : "__MSG_appName__",
"description" : "__MSG_appDesc__",
"default_locale": "zh_CN",
"version" : "1.4",
"version" : "2.0",
"manifest_version" : 2,

"permissions" : [
Expand All @@ -11,7 +11,7 @@
"tabs",
"storage",
"http://127.0.0.1:8000/*",
"http://sentiweibo.top/*"
"http://bili.wansho.top/*"
],

"background" : {
Expand Down

0 comments on commit b9753c6

Please sign in to comment.