From: Sergey M․ Date: Sat, 27 Jun 2015 08:04:55 +0000 (+0600) Subject: [vk] Fix authentication (Closes #6105) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=226b886ca85b5843d2cb9638fb6d88223e9dd5b2;p=youtube-dl.git [vk] Fix authentication (Closes #6105) --- diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 38ff3c1a9..f2ae109f9 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -121,20 +121,27 @@ class VKIE(InfoExtractor): if username is None: return - login_form = { - 'act': 'login', - 'role': 'al_frame', - 'expire': '1', + login_page = self._download_webpage( + 'https://vk.com', None, 'Downloading login page') + + login_form = dict(re.findall( + r'