Skip to content

Commit 7996f28

Browse files
authored
Merge pull request #18 from ilolipopi/patch-1
Update README.md
2 parents 4512bed + 684c940 commit 7996f28

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,34 @@ Please enter your id #输入id
3737

3838

3939

40-
1. 如果你有Golang环境的话,程序入口在**cmd/start-concurrent-engine.go**。自己build或者run就好。但是注意,合并视频需要ffmeg的支持。不然只会下载并不会自动合并。
40+
### 使用Golang编译环境
41+
1. 安装Golang编译环境
42+
* Ubuntu
43+
```shell
44+
sudo apt install golang
45+
```
46+
47+
1.1 如果你在中国大陆,那么你大概率可能或许maybe需要配置代理才能顺利进行下一步。
48+
```shell
49+
go env -w GO111MODULE=on #启用Go Moledules
50+
go env -w GOPROXY=https://goproxy.io #使用官方代理
51+
```
52+
53+
2. 一次性运行FastestBibiliDownloader
54+
程序入口在**cmd/start-concurrent-engine.go**,只需要
55+
```shell
56+
go run cmd/start-concurrent-engine.go
57+
```
58+
首次运行会花时间下一大堆东西,然后按提示操作即可。
59+
注意,合并视频需要FFmpeg的支持。不然只会下载并不会自动合并。FFmpeg的安装教程请咨询搜索引擎。
60+
61+
3. 编译FastestBibiliDownloader
62+
```shell
63+
go build cmd/start-concurrent-engine.go
64+
```
65+
之后直接运行./start-concurrent-engine即可。
4166

42-
2. 如果你没有Golang编译环境,或者没有ffmeg环境。那么推荐用docker方式运行。已经写好了dockefile和makefile。你只需要:
67+
### 如果你没有Golang编译环境,或者没有FFmeg环境。那么推荐用docker方式运行。已经写好了dockefile和makefile。你只需要:
4368

4469
```shell
4570
$ cd FastestBilibiliDownloader
@@ -49,7 +74,7 @@ Please enter your id #输入id
4974

5075

5176

52-
3. 后续有空会打包bin文件到release的。
77+
### 后续有空会打包bin文件到release的。
5378

5479
## 感谢
5580

0 commit comments

Comments
 (0)