[youtube] Add YouTube Red paid video reference test (#10059)
[youtube-dl] / 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&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,
         }
     ]