Browse Source

[youtube] Fix authentication (2) (Closes #10392)

Sergey M․ 9 years ago
parent
commit
05bddcc512
1 changed files with 1 additions and 0 deletions
  1. 1 0
      youtube_dl/extractor/youtube.py

+ 1 - 0
youtube_dl/extractor/youtube.py

@@ -94,6 +94,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
         login_form = self._hidden_inputs(login_page)
 
         login_form.update({
+            'checkConnection': 'youtube',
             'Email': username,
             'Passwd': password,
         })