mirror of
https://github.com/bit1001/tdl.git
synced 2024-09-20 06:35:54 +08:00
docs(cmd): update
This commit is contained in:
parent
8dbdf2d7e6
commit
fa3c480a28
|
@ -2,25 +2,13 @@
|
|||
|
||||
Download what you want
|
||||
|
||||
```
|
||||
tdl dl [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
tdl dl
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for dl
|
||||
-l, --limit int max number of concurrent tasks (default 2)
|
||||
-m, --mode string mode for download
|
||||
-s, --part-size int part size for download, max is 512*1024 (default 524288)
|
||||
-t, --threads int threads for downloading one item (default 8)
|
||||
-u, --url strings array of message links to be downloaded
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
@ -33,4 +21,5 @@ tdl dl
|
|||
### SEE ALSO
|
||||
|
||||
* [tdl](tdl.md) - Telegram downloader, but not only a downloader
|
||||
* [tdl dl url](tdl_dl_url.md) - Download in url mode
|
||||
|
||||
|
|
29
docs/command/tdl_dl_url.md
Normal file
29
docs/command/tdl_dl_url.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
## tdl dl url
|
||||
|
||||
Download in url mode
|
||||
|
||||
```
|
||||
tdl dl url [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for url
|
||||
-u, --urls strings telegram message links to be downloaded
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-l, --limit int max number of concurrent tasks (default 2)
|
||||
-n, --ns string namespace for Telegram session
|
||||
-s, --part-size int part size for download, max is 512*1024 (default 524288)
|
||||
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
|
||||
-t, --threads int threads for downloading one item (default 8)
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [tdl dl](tdl_dl.md) - Download what you want
|
||||
|
Loading…
Reference in a new issue