projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7571c02
)
[YoutubeDL] Show download URL when -v is set
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 6 Jul 2014 09:28:51 +0000
(11:28 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 6 Jul 2014 09:28:51 +0000
(11:28 +0200)
This will allow us to debug issues like #3204
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index dc0ba986a98744151cafd932acbcd6bbe33fb4a0..3dff723b81fff6947ac8cf08c62a275843f359f9 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-993,6
+993,8
@@
class YoutubeDL(object):
fd = get_suitable_downloader(info)(self, self.params)
for ph in self._progress_hooks:
fd.add_progress_hook(ph)
+ if self.params.get('verbose'):
+ self.to_stdout('[debug] Invoking downloader on %r' % info.get('url'))
return fd.download(name, info)
if info_dict.get('requested_formats') is not None:
downloaded = []