]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[youtube] Mark errors about rental videos as expected
authorYen Chi Hsuan <yan12125@gmail.com>
Thu, 2 Mar 2017 08:59:12 +0000 (16:59 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Thu, 2 Mar 2017 08:59:53 +0000 (16:59 +0800)
Closes #12324

youtube_dl/extractor/youtube.py

index 81c7939215bcfccb60b11b2ff28336f0f8d163c5..caa0482491fef0c550f8b9de8b608e317e40aa4f 100644 (file)
@@ -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)