aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-03-02 16:59:12 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-03-02 16:59:53 +0800
commitc9612c04872656125108980dc61d71ba6b3a4f89 (patch)
tree4e99c150f802d0f453d30311bccc40278fdc2866 /youtube_dl/extractor/youtube.py
parentaf5049f128655cfec8978f17b04e5d88bd91d37f (diff)
[youtube] Mark errors about rental videos as expected
Closes #12324
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 81c793921..caa048249 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1454,7 +1454,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
# Check for "rental" videos
if 'ypc_video_rental_bar_text' in video_info and 'author' not in video_info:
- raise ExtractorError('"rental" videos not supported')
+ raise ExtractorError('"rental" videos not supported. See https://github.com/rg3/youtube-dl/issues/359 for more information.', expected=True)
# Start extracting information
self.report_information_extraction(video_id)