Skip to content

Commit ea6b526

Browse files
committed
Update: Add examples for aliases, links for licenses
1 parent 4d952db commit ea6b526

File tree

2 files changed

+74
-4
lines changed

2 files changed

+74
-4
lines changed

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
![GitHub repo size](https://img.shields.io/github/repo-size/LussacZheng/video-downloader-deploy?logo=github)
88
![version](https://img.shields.io/github/package-json/v/LussacZheng/video-downloader-deploy_info?color=important)
99

10-
快速配置和使用 **[You-Get](https://github.com/soimort/you-get) , [Youtube-dl](https://github.com/ytdl-org/youtube-dl) , [Annie](https://github.com/iawia002/annie) , 和 [FFmpeg](https://ffmpeg.org)** 的一键配置脚本。
10+
快速配置和使用 **[You-Get][you-get] , [Youtube-dl][youtube-dl] , [Annie][annie] , 和 [FFmpeg][ffmpeg]** 的一键配置脚本。
1111

1212
- 无需安装 Python ,一键配置绿色便携版的 you-get , youtube-dl 。
1313
- 此绿色版基于 Python 的 embeddable 版。
@@ -40,6 +40,17 @@
4040

4141
> 在新增自定义别名之前,不妨先尝试 `导入默认别名` ,然后打开启动脚本 `下载视频.bat` ,输入 `open` 并执行。
4242
43+
列举几个可能比较常用的别名作为参考:
44+
45+
| 别名 | 作用 |
46+
| :---------------------------------------------------- | :--------------------------------------------------- |
47+
| open = `explorer .\` | 打开当前目录,即 `Download` 文件夹 |
48+
| yb = `youtube-dl -f bestvideo+bestaudio` | 使用 youtube-dl 下载最佳清晰度 |
49+
| yf = `youtube-dl --proxy socks5://127.0.0.1:10808 -F` | 使用 youtube-dl 查看所有可下载的清晰度,同时启用代理 |
50+
| ac = `annie -c cookies.txt` | 使用 annie 下载并加载 cookies 文件 |
51+
| ygc = `you-get -c cookies.txt` | 使用 you-get 下载并加载 cookies 文件 |
52+
| ... | ... |
53+
4354
**注意**:自定义别名的命名,最好是英文字母、数字的组合。尽管可以包含横杠、下划线、或中文,但其至少应符合正则表达式 `^[\w\-\u4e00-\u9fa5]+$` ,尤其不应含有空格和上文提及的特殊符号。另外,别名切忌与命令相同,否则会导致无限循环调用。
4455

4556
---
@@ -90,11 +101,35 @@ git pull
90101
- `get-pip.py`
91102

92103
```
93-
Version: v19.2.2 (pip)
104+
Version: v19.2.2 (pip for bootstrap)
94105
MD5: 7f66b79bf181521f6851a75848aad8b2
95106
Source: https://bootstrap.pypa.io/get-pip.py
96107
```
97108

109+
### License
110+
111+
| Project | License |
112+
| :----------------------------: | :-------------------------------------: |
113+
| [you-get][you-get] | [MIT License][you-get license] |
114+
| [youtube-dl][youtube-dl] | [The Unlicense][youtube-dl license] |
115+
| [annie][annie] | [MIT License][annie license] |
116+
| [FFmpeg Builds][ffmpeg builds] | [GPL 3.0][ffmpeg builds license] |
117+
| [Python][python] | [PSF LICENSE AGREEMENT][python license] |
118+
98119
### 更多信息
99120

100121
查阅 [Wiki](https://github.com/LussacZheng/video-downloader-deploy/wiki) 以了解更多信息。
122+
123+
<!-- Reference Links -->
124+
125+
[you-get]: https://github.com/soimort/you-get
126+
[you-get license]: https://github.com/soimort/you-get/blob/develop/LICENSE.txt
127+
[youtube-dl]: https://github.com/ytdl-org/youtube-dl
128+
[youtube-dl license]: https://github.com/ytdl-org/youtube-dl/blob/master/LICENSE
129+
[annie]: https://github.com/iawia002/annie
130+
[annie license]: https://github.com/iawia002/annie/blob/master/LICENSE
131+
[ffmpeg]: https://ffmpeg.org
132+
[ffmpeg builds]: https://ffmpeg.zeranoe.com/builds/
133+
[ffmpeg builds license]: http://www.gnu.org/licenses/gpl-3.0.html
134+
[python]: https://www.python.org
135+
[python license]: https://docs.python.org/3.7/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python

README_en.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
![GitHub repo size](https://img.shields.io/github/repo-size/LussacZheng/video-downloader-deploy?logo=github)
88
![version](https://img.shields.io/github/package-json/v/LussacZheng/video-downloader-deploy_info?color=important)
99

10-
A One-Click batch for the deployment and quickstart of **[You-Get](https://github.com/soimort/you-get) , [Youtube-dl](https://github.com/ytdl-org/youtube-dl) , [Annie](https://github.com/iawia002/annie) , and [FFmpeg](https://ffmpeg.org)** .
10+
A One-Click batch script for the deployment and quickstart of **[You-Get][you-get] , [Youtube-dl][youtube-dl] , [Annie][annie] , and [FFmpeg][ffmpeg]** .
1111

1212
- No need to install Python, one-click to deploy a portable version of you-get, youtube-dl.
1313
- This portable deployment is based on the embeddable version of Python.
@@ -43,6 +43,17 @@ Run `Deploy.bat` and select `Aliases Management` to add customize aliases.
4343

4444
> Before adding a custom alias, please try `Import default alias`. Then start the `Download_Video.bat`, input `open` and ENTER.
4545
46+
Take several aliases, which might be commonly used, as examples and references:
47+
48+
| Alias | Function |
49+
| :--------------------------------------- | :--------------------------------------------------------------- |
50+
| open = `explorer .\` | Open the current directory, which is `Download\` |
51+
| yb = `youtube-dl -f bestvideo+bestaudio` | Use youtube-dl to download the video of best quality |
52+
| yf = `youtube-dl -F` | Use youtube-dl to list all available formats of requested videos |
53+
| ac = `annie -c cookies.txt` | Use annie to download, with cookies loaded |
54+
| ygc = `you-get -c cookies.txt` | Use you-get to download, with cookies loaded |
55+
| ... | ... |
56+
4657
**Notice**: The name of customize alias is preferably a combination of letters, numbers, dashes and/or underscores. It should macth the RegExp `^[\w\-]+$`, and particularly no whitespace or the special punctuations mentioned above. In addition, the alias must NOT be the same as the command, otherwise it will cause an endless loop.
4758

4859
---
@@ -87,11 +98,35 @@ git pull
8798
- `get-pip.py`
8899

89100
```
90-
Version: v19.2.2 (pip)
101+
Version: v19.2.2 (pip for bootstrap)
91102
MD5: 7f66b79bf181521f6851a75848aad8b2
92103
Source: https://bootstrap.pypa.io/get-pip.py
93104
```
94105

106+
### License
107+
108+
| Project | License |
109+
| :----------------------------: | :-------------------------------------: |
110+
| [you-get][you-get] | [MIT License][you-get license] |
111+
| [youtube-dl][youtube-dl] | [The Unlicense][youtube-dl license] |
112+
| [annie][annie] | [MIT License][annie license] |
113+
| [FFmpeg Builds][ffmpeg builds] | [GPL 3.0][ffmpeg builds license] |
114+
| [Python][python] | [PSF LICENSE AGREEMENT][python license] |
115+
95116
### More information
96117

97118
Check [Wiki](https://github.com/LussacZheng/video-downloader-deploy/wiki) for more information.
119+
120+
<!-- Reference Links -->
121+
122+
[you-get]: https://github.com/soimort/you-get
123+
[you-get license]: https://github.com/soimort/you-get/blob/develop/LICENSE.txt
124+
[youtube-dl]: https://github.com/ytdl-org/youtube-dl
125+
[youtube-dl license]: https://github.com/ytdl-org/youtube-dl/blob/master/LICENSE
126+
[annie]: https://github.com/iawia002/annie
127+
[annie license]: https://github.com/iawia002/annie/blob/master/LICENSE
128+
[ffmpeg]: https://ffmpeg.org
129+
[ffmpeg builds]: https://ffmpeg.zeranoe.com/builds/
130+
[ffmpeg builds license]: http://www.gnu.org/licenses/gpl-3.0.html
131+
[python]: https://www.python.org
132+
[python license]: https://docs.python.org/3.7/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python

0 commit comments

Comments
 (0)