aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-07-02 08:40:21 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-07-02 08:40:21 +0200
commit9a82b2389fd9b1d893400892d92006d2f9eb17db (patch)
tree8e256504d5df7a13c178d16b6396ea65f3cf303e /youtube_dl/extractor/youtube.py
parent8dba13f7e82ecb57b8e92e43ce63d51937a50288 (diff)
Do not show bug report for errors that are to be expected (Closes #973)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index b526e0c53..14a8bd6ea 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -441,7 +441,7 @@ class YoutubeIE(InfoExtractor):
break
if 'token' not in video_info:
if 'reason' in video_info:
- raise ExtractorError(u'YouTube said: %s' % video_info['reason'][0])
+ raise ExtractorError(u'YouTube said: %s' % video_info['reason'][0], expected=True)
else:
raise ExtractorError(u'"token" parameter not in video info for unknown reason')