1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-11 03:47:34 +00:00

make rtmpdump inherit the verbose option for debugging

This commit is contained in:
Filippo Valsorda 2013-05-20 11:54:21 +02:00
parent 5b68ea215b
commit f008688520

View File

@ -763,6 +763,7 @@ class FileDownloader(object):
# the connection was interrumpted and resuming appears to be
# possible. This is part of rtmpdump's normal usage, AFAIK.
basic_args = ['rtmpdump', '-q', '-r', url, '-o', tmpfilename]
if self.params.get('verbose', False): basic_args[1] = '-v'
if player_url is not None:
basic_args += ['-W', player_url]
if page_url is not None: