Browse Source

[vk] Add age restricted video test for reference

Sergey M․ 10 years ago
parent
commit
e58066e244
1 changed files with 5 additions and 0 deletions
  1. 5 0
      youtube_dl/extractor/vk.py

+ 5 - 0
youtube_dl/extractor/vk.py

@@ -154,6 +154,11 @@ class VKIE(InfoExtractor):
             'url': 'http://vk.com/feed?z=video-43215063_166094326%2Fbb50cacd3177146d7a',
             'url': 'http://vk.com/feed?z=video-43215063_166094326%2Fbb50cacd3177146d7a',
             'only_matching': True,
             'only_matching': True,
         },
         },
+        {
+            # age restricted video, requires vk account credentials
+            'url': 'https://vk.com/video205387401_164765225',
+            'only_matching': True,
+        },
         {
         {
             # vk wrapper
             # vk wrapper
             'url': 'http://www.biqle.ru/watch/847655_160197695',
             'url': 'http://www.biqle.ru/watch/847655_160197695',