Explorar o código

[vk] Add entry for netrc authentication

Sergey M. %!s(int64=11) %!d(string=hai) anos
pai
achega
5544e038ab
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 = [
         {