Browse Source

[youtube] Add YouTube Red paid video reference test (#10059)

Sergey M․ 9 years ago
parent
commit
7f29cf545a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      youtube_dl/extractor/youtube.py

+ 5 - 0
youtube_dl/extractor/youtube.py

@@ -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,
         }
     ]