projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5049f
)
[youtube] Mark errors about rental videos as expected
author
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 2 Mar 2017 08:59:12 +0000
(16:59 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 2 Mar 2017 08:59:53 +0000
(16:59 +0800)
Closes #12324
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 81c7939215bcfccb60b11b2ff28336f0f8d163c5..caa0482491fef0c550f8b9de8b608e317e40aa4f 100644
(file)
--- 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)