aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-24 01:29:50 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-24 01:29:50 +0700
commit05bddcc512cd5058f1af1d5985979b70bdcf4711 (patch)
tree277056c0f97c19e3b41119a0f61e9bab0bf4e0d7
parent1212e9972fce69df6bd871a5c301294427299cbb (diff)
[youtube] Fix authentication (2) (Closes #10392)
-rw-r--r--youtube_dl/extractor/youtube.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 38556d86e..d5d5b7334 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/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,
})