[youtube] Add YouTube Red paid video reference test (#10059)
authorSergey M․ <dstftw@gmail.com>
Mon, 11 Jul 2016 19:10:35 +0000 (02:10 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 11 Jul 2016 19:10:35 +0000 (02:10 +0700)
youtube_dl/extractor/youtube.py

index 1687d5ef944b76c24ea48c56c341da2817679560..49c264c3ab1d7a0815bdfd0108f0ba20d9217633 100644 (file)
@@ -858,6 +858,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
         {
             'url': 'https://www.youtube.com/watch?feature=player_embedded&amp;amp;v=V36LpHqtcDY',
             'only_matching': True,
+        },
+        {
+            # YouTube Red paid video (https://github.com/rg3/youtube-dl/issues/10059)
+            'url': 'https://www.youtube.com/watch?v=i1Ko8UG-Tdo',
+            'only_matching': True,
         }
     ]