update README.md

This commit is contained in:
Mort Yao 2013-10-30 08:09:15 +01:00
parent 127611a66b
commit addb3b1c33

View File

@ -175,31 +175,23 @@ By default, Python will apply the system proxy settings (i.e. environment variab
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) Startup options:
-V | --version Display the version and exit.
-h | --help Print this help and exit.
In Python 3 (interactive): Download options (use with URLs):
-f | --force Force overwriting existed files.
>>> from you_get.downloader import * -i | --info Display the information of videos without downloading.
>>> youtube.download("http://www.youtube.com/watch?v=8bQlxQJEzLk", info_only = True) -u | --url Display the real URLs of videos without downloading.
Video Site: YouTube.com -n | --no-merge Don't merge video parts.
Title: If you're good at something, never do it for free! -o | --output-dir <PATH> Set the output directory for downloaded videos.
Type: WebM video (video/webm) -x | --http-proxy <HOST:PORT> Use specific HTTP proxy for downloading.
Size: 0.13 MB (133176 Bytes) --no-proxy Don't use any proxy. (ignore $http_proxy)
-S | --sogou Use a Sogou proxy server for downloading.
>>> import you_get --sogou-proxy <HOST:PORT> Run a standalone Sogou proxy server.
>>> you_get.any_download("http://www.youtube.com/watch?v=sGwy8DsUJ4M") --debug Show traceback on KeyboardInterrupt.
Video Site: YouTube.com
Title: Mort from Madagascar LIKES
Type: WebM video (video/webm)
Size: 1.78 MB (1867072 Bytes)
Downloading Mort from Madagascar LIKES.webm ...
100.0% ( 1.8/1.8 MB) [========================================] 1/1
## API Reference
See source code.
## License ## License