aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-17 02:17:10 +0700
committerSergey M. <dstftw@gmail.com>2014-02-17 02:17:10 +0700
commit5544e038ab034ed7003270dbf4e557e5df79e794 (patch)
treefce35a89371fde30ce9b5ee8d8f806fadcee1de7
parent9032dc28a63e0bed6d6d49f445c2a1f3499de911 (diff)
[vk] Add entry for netrc authentication
-rw-r--r--youtube_dl/extractor/vk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py
index b8299c237..a293b8875 100644
--- a/youtube_dl/extractor/vk.py
+++ b/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 = [
{