]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] Add test for age-gate video with encrypted signature
authorSergey M․ <dstftw@gmail.com>
Tue, 30 Dec 2014 11:26:21 +0000 (17:26 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 30 Dec 2014 11:26:21 +0000 (17:26 +0600)
youtube_dl/extractor/youtube.py

index 175e43272e8875e9efc6f91ae33f88d9f118e0b3..3da83e3a840c0f50c18a8e021e5a13e6d85cbd84 100644 (file)
@@ -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',