diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-07-02 08:40:21 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-07-02 08:40:21 +0200 |
commit | 9a82b2389fd9b1d893400892d92006d2f9eb17db (patch) | |
tree | 8e256504d5df7a13c178d16b6396ea65f3cf303e /youtube_dl/extractor/youtube.py | |
parent | 8dba13f7e82ecb57b8e92e43ce63d51937a50288 (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.py | 2 |
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') |