logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: f008688520ad0fadcf80601ce193d352cc0d4bd3
parent 5b68ea215b834b04fa1b3d3e9462d59b430cb058
Author: Filippo Valsorda <filippo.valsorda@gmail.com>
Date:   Mon, 20 May 2013 11:54:21 +0200

make rtmpdump inherit the verbose option for debugging

Diffstat:

Myoutube_dl/FileDownloader.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py @@ -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: