diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-12-30 17:26:21 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-12-30 17:26:21 +0600 |
commit | fccae2b911970d0ffa97800b27e70b1937cd3058 (patch) | |
tree | 353c16e8a21d3764ffab0cbd4061b580071e522f /youtube_dl | |
parent | 3ee08848dbc2314df39e6931c75920b406733868 (diff) |
[youtube] Add test for age-gate video with encrypted signature
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 175e43272..3da83e3a8 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -418,6 +418,19 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): 'upload_date': '20140605', }, }, + # Age-gate video with encrypted signature + { + 'url': 'http://www.youtube.com/watch?v=6kLq3WMV1nU', + 'info_dict': { + 'id': '6kLq3WMV1nU', + 'ext': 'mp4', + 'title': 'Dedication To My Ex (Miss That) (Lyric Video)', + 'description': 'md5:33765bb339e1b47e7e72b5490139bb41', + 'uploader': 'LloydVEVO', + 'uploader_id': 'LloydVEVO', + 'upload_date': '20110629', + }, + }, # video_info is None (https://github.com/rg3/youtube-dl/issues/4421) { 'url': '__2ABJjxzNo', |