diff options
-rwxr-xr-x | youtube-dl | bin | 40256 -> 40544 bytes | |||
-rwxr-xr-x | youtube-dl.exe | bin | 3989217 -> 3989624 bytes | |||
-rw-r--r-- | youtube_dl/InfoExtractors.py | 5 |
3 files changed, 5 insertions, 0 deletions
diff --git a/youtube-dl b/youtube-dl Binary files differindex f65e97fd0..66e5ff537 100755 --- a/youtube-dl +++ b/youtube-dl diff --git a/youtube-dl.exe b/youtube-dl.exe Binary files differindex 6d19ef5ea..984c92c42 100755 --- a/youtube-dl.exe +++ b/youtube-dl.exe diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 40f96ad76..d02bd29f7 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -311,6 +311,11 @@ class YoutubeIE(InfoExtractor): self._downloader.trouble(u'ERROR: "token" parameter not in video info for unknown reason') return + # Check for "rental" videos + if 'ypc_video_rental_bar_text' in video_info and 'author' not in video_info: + self._downloader.trouble(u'ERROR: "rental" videos not supported') + return + # Start extracting information self.report_information_extraction(video_id) |