diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-07-12 02:26:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-07-12 02:26:05 +0700 |
commit | baf67a604d912722b0fe03a40e9dc5349a2208cb (patch) | |
tree | 5ae416cd17b9935aa8685cfb0105b42a6c46f9df | |
parent | 0d1f4af39dab36138a3809e31a8c09ee588e1b40 (diff) |
[youtube] Fix authentication (closes #11270)
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index b570d5bae..9f661a84f 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -116,6 +116,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor): 'f.req': json.dumps(f_req), 'flowName': 'GlifWebSignIn', 'flowEntry': 'ServiceLogin', + # TODO: reverse actual botguard identifier generation algo + 'bgRequest': '["identifier",""]', }) return self._download_json( url, None, note=note, errnote=errnote, |