7 Commits

Author SHA1 Message Date
MrS0m30n3
9386cf9afd Fix spaces
Fix spaces
2014-04-21 17:01:21 +03:00
MrS0m30n3
77acafc6dd Refactor code 2014-04-21 16:17:56 +03:00
MrS0m30n3
989c8a2830 Add stop/pause/resume functionality 2014-04-20 19:06:15 +03:00
Jaime Marquínez Ferrándiz
e3ced9ed61 [downloader/common] Use compat_str with the error in try_rename (appeared in #2389)
Otherwise on python 2.x we get `UnicodeDecodeError` because it may contain non ascii characters.
2014-04-04 14:59:11 +02:00
Jaime Marquínez Ferrándiz
f89197d73e Some pep8 style fixes 2014-01-25 15:33:23 +01:00
Philipp Hagemeister
dabc127362 Remove dead code 2013-12-23 16:03:06 +01:00
Jaime Marquínez Ferrándiz
3bc2ddccc8 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
2013-12-11 16:18:48 +01:00