Explorar o código

[vk] Add age restricted video test for reference

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
e58066e244
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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',
             'only_matching': True,
         },
+        {
+            # age restricted video, requires vk account credentials
+            'url': 'https://vk.com/video205387401_164765225',
+            'only_matching': True,
+        },
         {
             # vk wrapper
             'url': 'http://www.biqle.ru/watch/847655_160197695',