Commit Graph

4 Commits (a980bc4324094e6869e05b8ddf22c7d4d87088cf)

Author SHA1 Message Date
Jaime Marquínez Ferrándiz e3ced9ed61 [downloader/common] Use `compat_str` with the error in `try_rename` (appeared in )
Otherwise on python 2.x we get `UnicodeDecodeError` because it may contain non ascii characters.
Jaime Marquínez Ferrándiz f89197d73e Some pep8 style fixes
Philipp Hagemeister dabc127362 Remove dead code
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