]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] Fix authentication (2) (Closes #10392)
authorSergey M․ <dstftw@gmail.com>
Tue, 23 Aug 2016 18:29:50 +0000 (01:29 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 23 Aug 2016 18:29:50 +0000 (01:29 +0700)
youtube_dl/extractor/youtube.py

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