[vk] Add entry for netrc authentication
authorSergey M. <dstftw@gmail.com>
Sun, 16 Feb 2014 19:17:10 +0000 (02:17 +0700)
committerSergey M. <dstftw@gmail.com>
Sun, 16 Feb 2014 19:17:10 +0000 (02:17 +0700)
youtube_dl/extractor/vk.py

index b8299c2377ae2133749400c24904db8fdf2bee60..a293b8875138d6fca999cc1240f47d15df433290 100644 (file)
@@ -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 = [
         {