diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-08-11 01:24:53 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-08-11 01:24:53 +0600 |
commit | 34952f09e175e0b78c929fddf56f82ccf028dc5c (patch) | |
tree | 3f656e51054a21cb3406a6d895172761635b504c /youtube_dl/extractor/youtube.py | |
parent | 34a7de2970d8bbceeb3f485d64a57f67489a44d3 (diff) |
[youtube] Add age limit to tests
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 01dbbfa3c..e74a39095 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -365,6 +365,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'description': 'md5:64249768eec3bc4276236606ea996373', 'uploader': 'justintimberlakeVEVO', 'uploader_id': 'justintimberlakeVEVO', + 'age_limit': 18, } }, { @@ -475,6 +476,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'uploader': 'The Witcher', 'uploader_id': 'WitcherGame', 'upload_date': '20140605', + 'age_limit': 18, }, }, # Age-gate video with encrypted signature @@ -488,6 +490,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'uploader': 'LloydVEVO', 'uploader_id': 'LloydVEVO', 'upload_date': '20110629', + 'age_limit': 18, }, }, # video_info is None (https://github.com/rg3/youtube-dl/issues/4421) |