Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Henryhaohao/Bilibili_video_download
:rainbow:Bilibili_video_download-B站视频下载
https://github.com/Henryhaohao/Bilibili_video_download
bilibili python videodownload
Last synced: about 2 months ago
JSON representation
:rainbow:Bilibili_video_download-B站视频下载
- Host: GitHub
- URL: https://github.com/Henryhaohao/Bilibili_video_download
- Owner: Henryhaohao
- License: apache-2.0
- Created: 2018-10-23T07:47:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:12:36.000Z (over 1 year ago)
- Last Synced: 2024-10-15T13:41:26.729Z (about 2 months ago)
- Topics: bilibili, python, videodownload
- Language: Python
- Homepage: https://www.bilibili.com/
- Size: 572 KB
- Stars: 3,082
- Watchers: 56
- Forks: 742
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bilibili-extra - Bilibili_video_download - 哔哩哔哩视频下载.![Python](svg/python.svg?raw=true) (下载工具 / 直播脚本)
README
Bilibili(b站)视频下载 ![enter image description here](Pic/logo.png)
===========================
![](https://img.shields.io/badge/Python-3.6.3-green.svg) ![](https://img.shields.io/badge/requests-2.18.4-green.svg) ![](https://img.shields.io/badge/moviepy-0.2.3.2-green.svg)
### Bilibili官网 - https://www.bilibili.com/
|Author|:sunglasses:Henryhaohao:sunglasses:|
|---|---
|Email|:hearts:[email protected]:hearts:
****
## :dolphin:声明
### 软件均仅用于学习交流,请勿用于任何商业用途!感谢大家!
## :dolphin:介绍
### 该项目为[Bilibili(b站)](https://www.bilibili.com/)视频下载(支持分P多段视频的下载!)
- **对于单P视频:直接传入B站av号或者视频链接地址(eg: 49842011或者https://www.bilibili.com/video/av49842011)**
- **对于多P视频:**
> **1.下载全集:直接传入B站av号或者视频链接地址(eg: 49842011或者https://www.bilibili.com/video/av49842011)**
> **2.下载其中一集:传入那一集的视频链接地址(eg: https://www.bilibili.com/video/av19516333/?p=2)**
## :dolphin:爬虫版本
- **版本一: bilibili_video_download_v1.py**
> **加密API版,不需要加入cookie,直接即可下载1080p视频
**
- **版本二: bilibili_video_download_v2.py**
> **1.无加密API版,但是需要加入登录后cookie中的SESSDATA字段,才可下载720p及以上视频**
> **2.如果想下载1080p+视频,需要带入B站大会员的cookie中的SESSDATA才行,普通用户的SESSDATA最多只能下载1080p视频;请定期更换代码31行cookie中的SESSDATA值。跟换方法为:浏览器登录B站,在开发者模式(按F12) --> application --> cookie中找到SESSDATA值替换即可,一个月的有效期**
- **版本三: bilibili_video_download_v3.py**
> **即版本二的升级版,为Threading多线程下载版本,下载速度大幅提升!**
- **版本四: GUI版本 - bilibili_video_download-GUI.py**
> **在版本三基础上加入图形界面,操作更加友好
**- **版本五: bilibili_video_download_bangumi.py**
> **在版本一,三基础上增加下载B站番剧视频(eg: https://www.bilibili.com/bangumi/play/ep269835)
**
## :dolphin:运行环境
Version: Python3
## :dolphin:安装依赖库
```
pip3 install -r requirements.txt
```
## :dolphin:运行截图
> - **运行下载**
![enter image description here](Pic/run.png)
> - **GUI图形界面**
![](Pic/GUI-run.png)
> - **下载完成**
![enter image description here](Pic/video.png)
## :dolphin:**总结**
> **最后,如果你觉得这个项目不错或者对你有帮助,给个Star呗,也算是对我学习路上的一种鼓励!
哈哈哈,感谢大家!笔芯哟~**:cupid::cupid: