]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[downloader/rtmp] Respect --no-continue option
authorAndroKev <AndroKev@users.noreply.github.com>
Sun, 11 Oct 2015 17:17:24 +0000 (19:17 +0200)
committerSergey M․ <dstftw@gmail.com>
Sun, 11 Oct 2015 18:40:37 +0000 (00:40 +0600)
now when downloading a "rtmp-file" the --no-continue option works!

youtube_dl/downloader/rtmp.py

index 7d19bb808a820da77aeb21070ebbdec4355f6739..f1d219ba97494d7a036354331aadfcb049817417 100644 (file)
@@ -105,7 +105,7 @@ class RtmpFD(FileDownloader):
         protocol = info_dict.get('rtmp_protocol', None)
         real_time = info_dict.get('rtmp_real_time', False)
         no_resume = info_dict.get('no_resume', False)
-        continue_dl = info_dict.get('continuedl', True)
+        continue_dl = self.params.get('continuedl', True)
 
         self.report_destination(filename)
         tmpfilename = self.temp_name(filename)