aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-11-28 00:46:21 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-11-28 00:46:21 +0100
commit8cd10ac4efb5168f3ceb18ec94338bce73e166a7 (patch)
tree623c36d8609da02b749ffc6fe17bc025c055687f /youtube_dl/InfoExtractors.py
parent64a57846d3fe3aa919ee3539956763c8ef3211b6 (diff)
Fix printing title etc.
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rw-r--r--youtube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 5c5430ad5..94803aa95 100644
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -339,7 +339,7 @@ class YoutubeIE(InfoExtractor):
return
if 'token' not in video_info:
if 'reason' in video_info:
- self._downloader.trouble(u'ERROR: YouTube said: %s' % video_info['reason'][0].decode('utf-8'))
+ self._downloader.trouble(u'ERROR: YouTube said: %s' % video_info['reason'][0])
else:
self._downloader.trouble(u'ERROR: "token" parameter not in video info for unknown reason')
return