mirror of
https://github.com/iyear/tdl
synced 2025-01-09 04:17:35 +08:00
docs(README): v0.11.0
This commit is contained in:
parent
0d6aad0acc
commit
b8e07d3925
11
README.md
11
README.md
@ -370,6 +370,17 @@ tdl dl -u https://t.me/tdl/1 --continue
|
|||||||
tdl dl -u https://t.me/tdl/1 --restart
|
tdl dl -u https://t.me/tdl/1 --restart
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- (Beta) Serve the files as a HTTP server instead of downloading them with built-in downloader
|
||||||
|
|
||||||
|
> **Note**
|
||||||
|
> This is useful when you want to download files with a download manager like aria2/wget/axel/IDM/etc.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
tdl dl -u https://t.me/tdl/1 --serve
|
||||||
|
# specify custom port
|
||||||
|
tdl dl -u https://t.me/tdl/1 --serve --port 8100
|
||||||
|
```
|
||||||
|
|
||||||
- Full example:
|
- Full example:
|
||||||
```shell
|
```shell
|
||||||
tdl dl --debug --ntp pool.ntp.org \
|
tdl dl --debug --ntp pool.ntp.org \
|
||||||
|
12
README_zh.md
12
README_zh.md
@ -376,6 +376,18 @@ tdl dl -u https://t.me/tdl/1 --continue
|
|||||||
tdl dl -u https://t.me/tdl/1 --restart
|
tdl dl -u https://t.me/tdl/1 --restart
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- (Beta) 以 HTTP 服务器的形式提供文件下载,而非使用内置下载器下载文件
|
||||||
|
|
||||||
|
> **Note**
|
||||||
|
> This is useful when you want to download files with a download manager like aria2/wget/axel/IDM/etc.
|
||||||
|
> 当你想使用下载管理器(如 aria2/wget/axel/IDM 等)下载文件时,开启此选项
|
||||||
|
|
||||||
|
```shell
|
||||||
|
tdl dl -u https://t.me/tdl/1 --serve
|
||||||
|
# 指定端口
|
||||||
|
tdl dl -u https://t.me/tdl/1 --serve --port 8100
|
||||||
|
```
|
||||||
|
|
||||||
- 完整例子:
|
- 完整例子:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
Loading…
Reference in New Issue
Block a user