Remove test parameter from _download_with_rtmpdump
[youtube-dl] / youtube_dl / FileDownloader.py
index d6673fd3ab88d543086417f903cf2ff7d4019944..2cda5d52a7369d008eb1edb3df15bf75fab1580b 100644 (file)
@@ -291,6 +291,8 @@ class FileDownloader(object):
             basic_args += ['--playpath', play_path]
         if tc_url is not None:
             basic_args += ['--tcUrl', url]
+        if self.params.get('test', False):
+            basic_args += ['--stop', '1']
         args = basic_args + [[], ['--resume', '--skip', '1']][self.params.get('continuedl', False)]
         if self.params.get('verbose', False):
             try: