Skip to content

Commit

Permalink
Move FileDownloader to its own module and create a new class for each…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
jaimeMF committed Dec 11, 2013
1 parent 8ab470f commit 3bc2ddc
Show file tree
Hide file tree
Showing 9 changed files with 808 additions and 724 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
author_email='[email protected]',
maintainer='Philipp Hagemeister',
maintainer_email='[email protected]',
packages=['youtube_dl', 'youtube_dl.extractor'],
packages=['youtube_dl', 'youtube_dl.extractor', 'youtube_dl.downloader'],

# Provokes warning on most systems (why?!)
# test_suite = 'nose.collector',
Expand Down
Loading

0 comments on commit 3bc2ddc

Please sign in to comment.