about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-12 02:10:35 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-12 02:10:35 +0700
commit7f29cf545a45db2bd5c2681a2fac782ca460b153 (patch)
tree71455d34cad0f378eba8e2262d32bebbc3134612
parent7d1219f3e053cc38a577ff2370781c1019e10a1a (diff)
downloadyoutube-dl-7f29cf545a45db2bd5c2681a2fac782ca460b153.tar.gz
youtube-dl-7f29cf545a45db2bd5c2681a2fac782ca460b153.tar.xz
youtube-dl-7f29cf545a45db2bd5c2681a2fac782ca460b153.zip
[youtube] Add YouTube Red paid video reference test (#10059)
-rw-r--r--youtube_dl/extractor/youtube.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 1687d5ef9..49c264c3a 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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,
         }
     ]