82 lines
1.8 KiB
Markdown
82 lines
1.8 KiB
Markdown
|
---
|
||
|
title: 【教程】使用 Quicker + bili 完成B站视频快速下载
|
||
|
date: 2021/8/20 21:28
|
||
|
tags: [bilibili, quicker]
|
||
|
categories: 技术
|
||
|
permalink: 351.html
|
||
|
index_img: https://i.dawnlab.me/8bcc7585348dec16e38d2c83adcb35b5.jpg
|
||
|
---
|
||
|
# 简介
|
||
|
|
||
|
## quicker
|
||
|
|
||
|
`Quicker` 是您的指尖工具箱,可以帮助您自动化完成一系列任务。
|
||
|
|
||
|
## Bili
|
||
|
|
||
|
`Bili` 是一个 `Python` 编写的从 `Bilibili/Acfun` 下载 `弹幕/视频` 的工具。
|
||
|
|
||
|
<!-- more -->
|
||
|
|
||
|
# 步骤
|
||
|
|
||
|
## 安装 python
|
||
|
|
||
|
点击 [link](https://www.python.org/downloads/) 下载最新版本的 python
|
||
|
|
||
|
## 安装 bili
|
||
|
|
||
|
### 拉取仓库
|
||
|
|
||
|
```bash
|
||
|
git clone https://github.com/lifegpc/bili.git
|
||
|
cd bili
|
||
|
```
|
||
|
|
||
|
### 安装依赖
|
||
|
|
||
|
#### pypi
|
||
|
|
||
|
```bash
|
||
|
pip install -r requirements.txt
|
||
|
```
|
||
|
|
||
|
#### 安装 ffmpeg
|
||
|
|
||
|
[link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z)
|
||
|
|
||
|
下载完成后将 `bin/ffmpeg.exe` 解压到 `bili` 根目录即可
|
||
|
|
||
|
## 安装 quicker
|
||
|
|
||
|
[link](https://getquicker.net/Download)
|
||
|
|
||
|
### 安装 quicker chrome 扩展
|
||
|
|
||
|
[link](https://chrome.google.com/webstore/detail/quicker-connector/klggbkjfmbonefdcfkiidhcmfjdfnepa)
|
||
|
|
||
|
### 安装 quicker 动作
|
||
|
|
||
|
[link](https://getquicker.net/sharedaction?code=dd8febe6-d9e1-473b-4536-08d963be9864)
|
||
|
|
||
|
#### 编辑 quicker 动作
|
||
|
|
||
|
在变量 `path` 中填写 bili 根目录,即可开始使用
|
||
|
|
||
|
# 使用示范
|
||
|
|
||
|
<div id="player"></div>
|
||
|
<script type="text/javascript" src="https://player.dogecloud.com/js/loader"></script>
|
||
|
<script type="text/javascript">
|
||
|
var player = new DogePlayer({
|
||
|
container: document.getElementById('player'),
|
||
|
userId: 2757,
|
||
|
vcode: 'db573e2f39f0f3a0',
|
||
|
autoPlay: false
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
# 结语
|
||
|
|
||
|
`Quicker` + `Bili` 十分方便用于 B 站视频下载,在任何自己想要下载的视频页面,通过面板点击+回车即可快速完成视频下载。
|