Git Product home page Git Product logo

bilibilivideodownload's Introduction

BilibiliVideoDownload


PC端下载bilibili视频

运行

  1. 安装ffmpeg (视频合并转码会用到)

  2. git clone https://github.com/blogwy/BilibiliVideoDownload.git

  3. cd BilibiliVideoDownload

  4. npm i

  5. 更换cookie中的SESSDATA值,在utils/getUrl.js4296

  6. node app.js

版本


v2.1.0 2019-09-12

添加了弹幕下载,以及弹幕反查用户

v2.0.2 2019-06-19

添加了大会员清晰度的支持(前提是必须要有一个大会员的SESSDATA)

v2.0.1 2019-03-29

添加了分P检测,分P下载功能

v2.0.0 2019-03-24

Node.js重构,以前的在vuejs分支

演示


图片1 图片2 图片3 图片4 图片5

实现的功能


  1. 视频下载
  2. 视频合并
  3. 视频转码
  4. 分P检测
  5. 分P下载
  6. 大会员清晰度下载(前提是必须要有一个大会员的SESSDATA)
  7. 弹幕下载
  8. 弹幕反查用户

注意的问题


  1. 请定期更换cookie中的SESSDATA值,在utils/getUrl.js4296行。跟换方法为:浏览器登陆bilibili账户,在开发者模式 --> application --> cookie中找到SESSDATA值替换即可,一般为一个月的时效。(代码中默认的SESSDATA不能下载大会员清晰度视频,如有想下载大会员清晰度请替换)
  2. win用户在命令行CHCP 65001把编码转换成UTF8,不然会出现乱码。
  3. 输入的是av号,不要带av
  4. 视频下载后的格式是flv
  5. 转码合并后的格式是mp4
  6. 大部分视频下载后是一个文件,少部分视频是分段的,下载后是多个文件
  7. 只有选择转码合并才会生成mp4格式的视频
  8. 视频合并转码时间视配置高低不同

用到的接口

bilibilivideodownload's People

Contributors

blogwy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.