aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-08-07 00:02:50 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2011-08-07 00:02:50 +0200
commitf3dc18d874eb4fd5f6f9099f1e1a13bf8548c1ff (patch)
tree06623d30bb6c40409d0b7ddcba0469c597fcadb8
parent1293ce58acc898cf8b423c93b45f227c26ee9f96 (diff)
downloadyoutube-dl-f3dc18d874eb4fd5f6f9099f1e1a13bf8548c1ff.tar.xz
youtube: Better error messages
-rwxr-xr-xyoutube-dl3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube-dl b/youtube-dl
index 81dd4b83b..c334dee5e 100755
--- 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:
- 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:
@@ -1296,7 +1296,6 @@ class YoutubeIE(InfoExtractor):
# 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({