git://git.jankratochvil.net
/
youtube-dl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1293ce5
)
youtube: Better error messages
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 6 Aug 2011 22:02:50 +0000
(
00:02
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 6 Aug 2011 22:02:50 +0000
(
00:02
+0200)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index
81dd4b8
..
c334dee
100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-1286,7
+1286,7
@@
class YoutubeIE(InfoExtractor):
return
video_url_list = [(req_format, url_map[req_format])] # Specific format
else:
return
video_url_list = [(req_format, url_map[req_format])] # Specific format
else:
- self._downloader.trouble(u'ERROR: no
fmt_url_map or conn
information found in video info')
+ self._downloader.trouble(u'ERROR: no
conn or url_encoded_fmt_stream_map
information found in video info')
return
for format_param, video_real_url in video_url_list:
return
for format_param, video_real_url in video_url_list:
@@
-1296,7
+1296,6
@@
class YoutubeIE(InfoExtractor):
# Extension
video_extension = self._video_extensions.get(format_param, 'flv')
# Extension
video_extension = self._video_extensions.get(format_param, 'flv')
- # Find the video URL in fmt_url_map or conn paramters
try:
# Process video information
self._downloader.process_info({
try:
# Process video information
self._downloader.process_info({