]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/downloader/common.py
[downloader/fragment] Do not report total bytes estimation and eta for live streams
[youtube-dl.git] / youtube_dl / downloader / common.py
index beae8c4d0218953be006cf5fd61b5071149b192b..de815612ceb7b13af7305c1fc9cb1b92eccd501b 100644 (file)
@@ -45,6 +45,7 @@ class FileDownloader(object):
                         (experimental)
     external_downloader_args:  A list of additional command-line arguments for the
                         external downloader.
+    hls_use_mpegts:     Use the mpegts container for HLS videos.
 
     Subclasses of this one must re-define the real_download method.
     """
@@ -295,7 +296,7 @@ class FileDownloader(object):
 
     def report_retry(self, count, retries):
         """Report retry in case of HTTP error 5xx"""
-        self.to_screen('[download] Got server HTTP error. Retrying (attempt %d of %d)...' % (count, retries))
+        self.to_screen('[download] Got server HTTP error. Retrying (attempt %d of %.0f)...' % (count, retries))
 
     def report_file_already_downloaded(self, file_name):
         """Report file has already been fully downloaded."""