Dumb downloader that scrapes the web
Go to file
2014-06-28 11:08:29 +02:00
src/you_get fix usage of youku_download_by_vid() 2014-06-28 11:08:29 +02:00
tests remove all Sohu test cases 2014-02-22 18:43:16 +01:00
.gitignore update .gitignore 2014-06-24 02:30:11 +02:00
.travis.yml Travis: add Python 3.4 2014-05-20 03:35:29 +02:00
CHANGELOG.txt version 0.3.29 2014-05-29 03:21:12 +02:00
CONTRIBUTING.md add CONTRIBUTING.md; fix #118 2013-02-28 23:03:25 +01:00
LICENSE.txt Sohu: fix #53 2013-01-03 16:04:33 +01:00
Makefile version 0.3.1 2013-02-15 02:25:12 +01:00
MANIFEST.in refactor for Python packaging 2012-08-31 17:20:38 +02:00
README.md update README 2014-06-25 15:46:11 +02:00
README.txt update README 2014-06-25 15:46:11 +02:00
setup.cfg version 0.1.0 2012-09-01 00:55:45 +02:00
setup.py setup.py: open with encoding 'utf-8' 2013-11-30 22:52:35 +01:00
you-get downloader -> extractor 2013-09-11 13:45:34 +02:00
you-get.json downloader -> extractor 2013-09-11 13:45:34 +02:00

You-Get

Build Status PyPI version

You-Get is a video downloader runs on Python 3. It aims at easing the download of videos on YouTube, Youku/Tudou (biggest online video providers in China), Niconico, etc., in one script.

See the project homepage http://www.soimort.org/you-get for further documentation.

Fork me on GitHub: https://github.com/soimort/you-get

__中文说明__已移至wiki

Features

Supported Sites (As of Now)

Dependencies

Installation

1. Install via Pip:

$ [sudo] pip install you-get

Check if the installation was successful:

$ you-get -V

2. Install from Git:

$ git clone git://github.com/soimort/you-get.git

Use the raw script without installation:

$ cd you-get/
$ ./you-get -V

To install the package into the system path, execute:

$ make install

Check if the installation was successful:

$ you-get -V

3. Direct download (from https://github.com/soimort/you-get/zipball/master):

$ wget -O you-get.zip https://github.com/soimort/you-get/zipball/master
$ unzip you-get.zip

Use the raw script without installation:

$ cd soimort-you-get-*/
$ ./you-get -V

To install the package into the system path, execute:

$ make install

Check if the installation was successful:

$ you-get -V

4. Install from your distro's repo:

Upgrading

Using Pip:

$ [sudo] pip install --upgrade you-get

Examples

Display the information of the video without downloading:

$ you-get -i http://www.youtube.com/watch?v=sGwy8DsUJ4M

Download the video:

$ you-get http://www.youtube.com/watch?v=sGwy8DsUJ4M

Download multiple videos:

$ you-get http://www.youtube.com/watch?v=sGwy8DsUJ4M http://www.youtube.com/watch?v=8bQlxQJEzLk

By default, program will skip any video that already exists in the local directory when downloading. If a temporary file (ends with a ".download" filename extension) is found, program will resume the download from last session.

To enforce re-downloading of videos, use '-f' option (this will overwrite any existing video or temporary file, rather than skipping or resuming them):

$ you-get -f http://www.youtube.com/watch?v=sGwy8DsUJ4M

Set the output directory for downloaded files:

$ you-get -o ~/Downloads http://www.youtube.com/watch?v=sGwy8DsUJ4M

Use a specific HTTP proxy for downloading:

$ you-get -x 127.0.0.1:8087 http://www.youtube.com/watch?v=sGwy8DsUJ4M

By default, Python will apply the system proxy settings (i.e. environment variable $http_proxy). To cancel the use of proxy, use '--no-proxy' option:

$ you-get --no-proxy http://www.youtube.com/watch?v=sGwy8DsUJ4M

Command-Line Options

For a complete list of all available options, see:

$ you-get --help
Usage: you-get [OPTION]... [URL]...

Startup options:
    -V | --version                           Display the version and exit.
    -h | --help                              Print this help and exit.

Download options (use with URLs):
    -f | --force                             Force overwriting existed files.
    -i | --info                              Display the information of videos without downloading.
    -u | --url                               Display the real URLs of videos without downloading.
    -n | --no-merge                          Don't merge video parts.
    -c | --cookies                           Load NetScape's cookies.txt file.
    -o | --output-dir <PATH>                 Set the output directory for downloaded videos.
    -p | --player <PLAYER [options]>         Directly play the video with PLAYER like vlc/smplayer.
    -x | --http-proxy <HOST:PORT>            Use specific HTTP proxy for downloading.
    -y | --extractor-proxy <HOST:PORT>       Use specific HTTP proxy for extracting stream data.
         --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

You-Get is licensed under the MIT license.

Contributing

Please see CONTRIBUTING.md.