Commit Graph

11 Commits (1a1826c1afe81fc8710ffa153d4c69c0a53b6666)

Author SHA1 Message Date
Sergey M․ 32fd27ec98 [http] Fix string/None comparison with int while in test
Sergey M․ df297c8794 [http] Improve download mechanism when Range HTTP header is ignored
Sergey M․ a59e40a1ea Replace 'referer' with 'http_referer'
Sergey M․ 1d0e49e1c7 Use explicitly set Referer header for downloading
Jaime Marquínez Ferrándiz 22ff5d2105 [http] Use the `YoutubeDL.urlopen` method
rzhxeo 60daf7f0bb Set resume_len to 0 if download is restarted
Jaime Marquínez Ferrándiz f89197d73e Some pep8 style fixes
Jaime Marquínez Ferrándiz 7976fcac55 [http] Fix ‘err’ variable not being assigned in an except block ()
Philipp Hagemeister dabc127362 Remove dead code
Philipp Hagemeister 1538eff6d8 [bliptv] Remove support for direct downloads
This is now handled by the generic IE
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