diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-05-20 11:54:21 +0200 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-05-20 11:54:21 +0200 |
commit | f008688520ad0fadcf80601ce193d352cc0d4bd3 (patch) | |
tree | ff90c370c15a0eb59565a059057349a7216dc8ca | |
parent | 5b68ea215b834b04fa1b3d3e9462d59b430cb058 (diff) |
make rtmpdump inherit the verbose option for debugging
-rw-r--r-- | youtube_dl/FileDownloader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 75fe0eea9..49f3a8712 100644 --- 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: |