Skip to content

Commit

Permalink
add source files
Browse files Browse the repository at this point in the history
  • Loading branch information
liqi0816 committed Apr 2, 2018
1 parent 425e236 commit bdce423
Show file tree
Hide file tree
Showing 57 changed files with 32,298 additions and 11,821 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# node
node_modules/
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "src/assconverter"]
path = src/assconverter
url = https://github.com/liqi0816/ass-danmaku.git
branch = bilitwin
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* 软字幕打包FLV+ASS为MKV
* 集成
* 下载合并一条龙 <sub>一键下载所有超清FLV分段并自动合并</sub>
* 关标签页已下载的分段不消失 <sub>保留已经下载好的分段到缓存</sub>
* 断点续传 <sub>也保留部分下载的分段到缓存</sub>
* 关标签页已下载的分段不消失 <sub>保留已经下载好的分段到缓存</sub>
* 断点续传 <sub>也保留部分下载的分段到缓存</sub>
* 用B站原生播放器播放下载好的缓存 <sub>如果发现缓存里有完整的分段,直接喂给网页播放器,不重新访问网络。小水管利器。如果实在搞不清怎么播放ASS弹幕,也可以就这样用。</sub>
* BiliPolyfill
* 界面
Expand All @@ -26,12 +26,14 @@
* 整合充电榜与换P倒计时
* 自动化
* 自动滚动到播放器
* 自动聚焦到播放器 <sub>直接按空格会播放而不是向下滚动</sub>
* 自动聚焦到播放器 <sub>新页面直接按空格会播放而不是向下滚动</sub>
* 关闭菜单后聚焦到播放器
* 自动防挡字幕
* 记住防挡字幕
* 记住弹幕开关(顶端/底端/滚动/全部)
* 记住播放速度
* 记住宽屏
* 自动跳转上次看到
* 自动播放
* 自动宽屏
* 自动全屏
* 标记后自动跳OP/ED
* 尝试自动找上下集
Expand Down Expand Up @@ -86,12 +88,15 @@
# 更新/讨论
* [Greasy Fork](https://greasyfork.org/zh-CN/scripts/27819)
* [Github](https://github.com/liqi0816/bilitwin)
* [文档](https://github.com/liqi0816/bilitwin/tree/master/docs)
* 如果鄙人的代码太辣鸡,请一起来[Fork you](https://github.com/liqi0816/bilitwin)

# 特征
* 轻量
新建一个书签,书签地址粘贴下面的代码,想用的时候点一下也可以使用。
`javascript:(function(){f=document.createElement("script");f.setAttribute("src","https://liqi0816.github.io/bilitwin/biliTwinBabelCompiled.user.js");document.body.appendChild(f)})()`
```javascript
javascript:(function(){f=document.createElement("script");f.setAttribute("src","https://liqi0816.github.io/bilitwin/biliTwinBabelCompiled.user.js");document.body.appendChild(f)})()
```
* 充分保障隐私
作者根本就没有服务器可以用来偷偷记下各位的奇怪癖好
* 充分利用最快的B站视频源
Expand All @@ -110,8 +115,6 @@
脚本用到了大量ES6功能和一些ES7功能。用着最新浏览器的同学,请把脚本从babel中解放出来!

懒得加的功能:
* 多P解析
接口已经留好了,但自己没这需求。因为用的是原生appsecret,需要iframe真的去访问多P,小心内存爆炸。
* 边看边下载
一旦进度条鬼畜,下载就会拉肚子。
* 超清FLV转MP4
Expand Down

0 comments on commit bdce423

Please sign in to comment.