Giter VIP home page Giter VIP logo

bilibili-video-downloader's Introduction

Bilibili-video-downloader

Bilibili-video-downloader is a simple Bilibili video and danmaku downloader with GUI.

Note:

  • Some videos cannot be downloaded due to region's difference. Only who lives in mainland, China could download videos such as bangumi and films.
  • Those live in foreign country could use global proxy setting to download those mentioned videos.
  • Currently could only download one part from the target website if the video has multiple parts.
  • Currently could only download the highest quality from the website. If one want to download membership-quality videos(e.g. 1080P60, 4K), one should enter the cookie which will talked in the following instruction.

Installation

Prerequisites

Note: The following dependencies are necessary for Windows user(not using Executable):

Option 1: Download from GitHub

This is the recommended way for all developers, even if you don't often code in Python.

$ git clone https://github.com/sunkashing/BiliBili-video-downloader

Getting Started

Note:

  • Ensure you have downloaded Prerequisites(Python and FFmpeg)

Open application GUI

Mac user

Go to Bilibili-video-downloader/Mac/dist/video_downloader/ folder, and click video_downloader to run application.

Windows user

Go to Bilibili-video-downloader/Windows/dist/video_downloader/ folder, and click video_downloader.exe to run application.

Download a video

Step1

Open a target Bilibili video site from browser, and paste the url to the Bilibili url: input field

Step2 (optional)

If you are a membership(大会员) and want to download those membership-quality videos(e.g. 1080P60, 4K). Go to the target video's site and open the developer tool of the browser. Choose Network menu from the menubar and choose Headers from the submenu. If the Has blocked cookies is enabled, disable it. Refresh the page, find a package whose name is same as the video's BV number(usually the top one in the Name column) and clicked on it. Go to Request Headers and find Cookie field. Copy the value of it(Do not include Cookie:) and paste it to the GUI's Cookie(optional): field.

Step3

Choose a saving directory of the downloaded video by clicking Choose Directory.

Step4(optional)

If you want to improve the downloaded video's fps(if it is not 60fps originally), check the 60fps boost.

Note

  • This option will take a long time to run, if your computer's hardware is not good, do not check it.

Step5

Click Download button and wait for completion!

Step6

Open the downloaded video, if the player does not load the .ass file automatically, you can load the generated .ass file to the video.(Most player should support it) Watch your video with danmaku and have fun!!!

Authors

Made by @sunkashing.

Inspired by @soimort and @m13253.

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.