瀏覽代碼

[vk] Add age restricted video test for reference

Sergey M․ 10 年之前
父節點
當前提交
e58066e244
共有 1 個文件被更改,包括 5 次插入0 次删除
  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',