aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-23 02:47:52 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-23 02:47:52 +0200
commit6db274e057873feb256568f0e27c9a03a2b8d16c (patch)
tree8b741bd14826e6f8ab5117ff391d93d981fc620d
parent0c92b57398417529ad22e80df683a2fb4adac4da (diff)
Remove legacy FileDownloader (Closes #2964)
-rw-r--r--youtube_dl/FileDownloader.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py
deleted file mode 100644
index 5c8e676a2..000000000
--- a/youtube_dl/FileDownloader.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# Legacy file for backwards compatibility, use youtube_dl.downloader instead!
-from .downloader import FileDownloader as RealFileDownloader
-from .downloader import get_suitable_downloader
-
-
-# This class reproduces the old behaviour of FileDownloader
-class FileDownloader(RealFileDownloader):
- def _do_download(self, filename, info_dict):
- real_fd = get_suitable_downloader(info_dict)(self.ydl, self.params)
- for ph in self._progress_hooks:
- real_fd.add_progress_hook(ph)
- return real_fd.download(filename, info_dict)