bilibili merged flv+mp4+ass+enhance

bilibili/哔哩哔哩:超清FLV下载,FLV合并,原生MP4下载,弹幕ASS下载,MKV打包,播放体验增强,原生appsecret,不借助其他网站

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
qli5
Daily installs
0
Total installs
143,944
Ratings
520 12 6
Version
1.14
Created
2017-03-03
Updated
2018-04-03
Size
346 KB
License
Mozilla Public License 2.0
Applies to

国产浏览器请点这里

脚本功能

  • BiliMonkey
    • 网络
    • 抓取FLV
    • 抓取MP4
    • 抓取弹幕
    • 缓存
    • 缓存FLV到本地
    • 断点续传
    • 用缓存加速播放器
    • 转码
    • 合并FLV
    • 弹幕转码ASS
    • 软字幕打包FLV+ASS为MKV
    • 集成
    • 下载合并一条龙 一键下载所有超清FLV分段并自动合并
    • 关标签页已下载的分段不消失 保留已经下载好的分段到缓存
    • 断点续传 也保留部分下载的分段到缓存
    • 用B站原生播放器播放下载好的缓存 如果发现缓存里有完整的分段,直接喂给网页播放器,不重新访问网络。小水管利器。如果实在搞不清怎么播放ASS弹幕,也可以就这样用。
  • BiliPolyfill
    • 界面
    • 稍后再看添加数字角标
    • 弹幕列表换成相关视频
    • 整合充电榜与换P倒计时
    • 自动化
    • 自动滚动到播放器
    • 自动聚焦到播放器 新页面直接按空格会播放而不是向下滚动
    • 关闭菜单后聚焦到播放器
    • 记住防挡字幕
    • 记住弹幕开关(顶端/底端/滚动/全部)
    • 记住播放速度
    • 记住宽屏
    • 自动跳转上次看到
    • 自动播放
    • 自动全屏
    • 标记后自动跳OP/ED
    • 尝试自动找上下集
    • 交互
    • 双击全屏
    • 首次回车键可全屏自动播放
    • 功能
    • 获取封面
    • 小窗播放
    • 自定义播放速度
    • 彩蛋
  • 不能
    • 破解地区限制
    • 破解10492
    • 其他需要服务器辅助的功能 鄙人木有服务器 (๑•́ ₃ •̀๑)

需求

  • B站 HTML5播放器
  • 浏览器
    国产浏览器 请用兼容版本
    Chrome 作者在用
    Firefox 应该OK
    Edge 不造
    IE NO

更新/讨论

特征

  • 轻量 新建一个书签,书签地址粘贴下面的代码,想用的时候点一下也可以使用。

    javascript:(function(){f=document.createElement("script");f.setAttribute("src","https://liqi0816.github.io/bilitwin/biliTwinBabelCompiled.user.js");document.body.appendChild(f)})()
    
  • 充分保障隐私 作者根本就没有服务器可以用来偷偷记下各位的奇怪癖好

  • 充分利用最快的B站视频源 数据皆由浏览器实时抓取

有用部分结束


作者用的是Chrome,8G内存。

支持HTTPS,不借助第三方服务器,用原生的appsecret,不需要额外权限,用书签就可以运行。

模拟用户用原生鉴权方式加载视频,再也不怕B站改appkey或appsecret,该走哪个CDN就走哪个。

脚本用到了大量ES6功能和一些ES7功能。用着最新浏览器的同学,请把脚本从babel中解放出来!

懒得加的功能:

  • 边看边下载 一旦进度条鬼畜,下载就会拉肚子。
  • 超清FLV转MP4 qianqian立过的flag,我就不立了。