youtube-dl

A command-line program to download videos from YouTube and other video sites

Python 2/3+

Purely written in Python from scratch.

Run From Anywhere

Windows, Linux/Unix, Mac OSX, etc.

Comprehensive Documentation

Complete documentation from installation guides to flag details.

10,000+ commits

With over 400 contributors, there are 10,000+ commits and growing.

500+ sites

Media files from 500+ sites can be downloaded.

Open Source

Released as public license, you can modify it, redistribute it, or use it however you like.

Installation

Linux/Unix/Mac OSX:

To clone from remote source and build locally*:

    git clone https://github.com/rg3/youtube-dl.git
    cd youtube-dl/
    make
    python youtube-dl -h
  

Windows:

We provide Windows executable that includes Python.

Note

*As youtube-dl requires Python version 2.6, 2.7, or 3.2+ to work (except Windows executable), make sure to check which Python version is running.

*For more detailed instructions, please click here.

Found a bug?

Please head over to our GitHub repo and submit a new issue or, if exists, join the conversation with your findings!

Credits

Core team:

Many other people contributing patches, code, ideas and kind messages. Too many to be listed here. You know who you are. Thank you very much.

Fork me on GitHub