mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
update README.txt
This commit is contained in:
parent
addb3b1c33
commit
740cef54d4
40
README.txt
40
README.txt
@ -166,33 +166,23 @@ Command-Line Options
|
|||||||
For a complete list of all available options, see::
|
For a complete list of all available options, see::
|
||||||
|
|
||||||
$ you-get --help
|
$ you-get --help
|
||||||
|
Usage: you-get [OPTION]... [URL]...
|
||||||
Examples (For Developers)
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
In Python 3 (interactive)::
|
|
||||||
|
|
||||||
>>> from you_get.downloader import *
|
|
||||||
>>> youtube.download("http://www.youtube.com/watch?v=8bQlxQJEzLk", info_only = True)
|
|
||||||
Video Site: YouTube.com
|
|
||||||
Title: If you're good at something, never do it for free!
|
|
||||||
Type: WebM video (video/webm)
|
|
||||||
Size: 0.13 MB (133176 Bytes)
|
|
||||||
|
|
||||||
>>> import you_get
|
Startup options:
|
||||||
>>> you_get.any_download("http://www.youtube.com/watch?v=sGwy8DsUJ4M")
|
-V | --version Display the version and exit.
|
||||||
Video Site: YouTube.com
|
-h | --help Print this help and exit.
|
||||||
Title: Mort from Madagascar LIKES
|
|
||||||
Type: WebM video (video/webm)
|
|
||||||
Size: 1.78 MB (1867072 Bytes)
|
|
||||||
|
|
||||||
Downloading Mort from Madagascar LIKES.webm ...
|
Download options (use with URLs):
|
||||||
100.0% ( 1.8/1.8 MB) [========================================] 1/1
|
-f | --force Force overwriting existed files.
|
||||||
|
-i | --info Display the information of videos without downloading.
|
||||||
API Reference
|
-u | --url Display the real URLs of videos without downloading.
|
||||||
-------------
|
-n | --no-merge Don't merge video parts.
|
||||||
|
-o | --output-dir <PATH> Set the output directory for downloaded videos.
|
||||||
See source code.
|
-x | --http-proxy <HOST:PORT> Use specific HTTP proxy for downloading.
|
||||||
|
--no-proxy Don't use any proxy. (ignore $http_proxy)
|
||||||
|
-S | --sogou Use a Sogou proxy server for downloading.
|
||||||
|
--sogou-proxy <HOST:PORT> Run a standalone Sogou proxy server.
|
||||||
|
--debug Show traceback on KeyboardInterrupt.
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
Loading…
Reference in New Issue
Block a user