Commit Graph

8 Commits (37ea8164d38a03c56c454f369abd82e1a74312e3)

Author SHA1 Message Date
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister b6b70730bf [downloader/common] Modernize 10 years ago
Philipp Hagemeister b686fc18da [hlsnative] Support test parameter 10 years ago
Sergey M․ c767dc74b8 [downloader/common] Fix typo 10 years ago
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.
11 years ago
Jaime Marquínez Ferrándiz f89197d73e Some pep8 style fixes 11 years ago
Philipp Hagemeister dabc127362 Remove dead code 11 years ago
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
11 years ago