Move FileDownloader to its own module and create a new class for each download process
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 23 Sep 2013 15:59:27 +0000 (17:59 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Dec 2013 15:18:48 +0000 (16:18 +0100)
commit3bc2ddccc8622379ec11e802dff30a635285a9c8
tree63fe2e72f439c5db7f8047f395eca030981e620b
parent8ab470f1b26b6c42ab74ceb345994c201743bed8
Move FileDownloader to its own module and create a new class for each download process

A suitable downloader can be found using the 'get_suitable_downloader' function.

Each subclass implements 'real_download', for downloading an info dict you call the 'download' method, which first checks if the video has already been downloaded
setup.py
youtube_dl/FileDownloader.py
youtube_dl/YoutubeDL.py
youtube_dl/downloader/__init__.py [new file with mode: 0644]
youtube_dl/downloader/common.py [new file with mode: 0644]
youtube_dl/downloader/hls.py [new file with mode: 0644]
youtube_dl/downloader/http.py [new file with mode: 0644]
youtube_dl/downloader/mplayer.py [new file with mode: 0644]
youtube_dl/downloader/rtmp.py [new file with mode: 0644]