浏览代码

[downloader/rtmp] Respect --no-continue option

now when downloading a "rtmp-file" the --no-continue option works!
AndroKev 10 年之前
父节点
当前提交
f101079ae0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/downloader/rtmp.py

+ 1 - 1
youtube_dl/downloader/rtmp.py

@@ -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)