X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fcommon.py;h=f85f0c94e7544b6eabad3d1f4158f88b9e3c981d;hb=72d53356f68cf73e6f2a88650b56f801790ea5f3;hp=917f3450e63c62b95551081109c5d3f55f49aeba;hpb=77477fa4c916599e7eaa236a3f3eb5703923cf91;p=youtube-dl.git diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py index 917f3450e..f85f0c94e 100644 --- a/youtube_dl/downloader/common.py +++ b/youtube_dl/downloader/common.py @@ -42,6 +42,7 @@ class FileDownloader(object): Subclasses of this one must re-define the real_download method. """ + _TEST_FILE_SIZE = 10241 params = None def __init__(self, ydl, params): @@ -292,7 +293,7 @@ class FileDownloader(object): def real_download(self, filename, info_dict): """Real download process. Redefine in subclasses.""" - raise NotImplementedError(u'This method must be implemented by sublcasses') + raise NotImplementedError(u'This method must be implemented by subclasses') def _hook_progress(self, status): for ph in self._progress_hooks: