Browse Source

[vk] Add entry for netrc authentication

Sergey M. 11 years ago
parent
commit
5544e038ab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      youtube_dl/extractor/vk.py

+ 1 - 0
youtube_dl/extractor/vk.py

@@ -17,6 +17,7 @@ from ..utils import (
 class VKIE(InfoExtractor):
     IE_NAME = 'vk.com'
     _VALID_URL = r'https?://vk\.com/(?:videos.*?\?.*?z=)?video(?P<id>.*?)(?:\?|%2F|$)'
+    _NETRC_MACHINE = 'vk'
 
     _TESTS = [
         {