mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-09-08 09:35:01 +00:00
[youtube] Fix authentication (closes #11270)
This commit is contained in:
parent
0d1f4af39d
commit
baf67a604d
|
@ -116,6 +116,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||||
'f.req': json.dumps(f_req),
|
'f.req': json.dumps(f_req),
|
||||||
'flowName': 'GlifWebSignIn',
|
'flowName': 'GlifWebSignIn',
|
||||||
'flowEntry': 'ServiceLogin',
|
'flowEntry': 'ServiceLogin',
|
||||||
|
# TODO: reverse actual botguard identifier generation algo
|
||||||
|
'bgRequest': '["identifier",""]',
|
||||||
})
|
})
|
||||||
return self._download_json(
|
return self._download_json(
|
||||||
url, None, note=note, errnote=errnote,
|
url, None, note=note, errnote=errnote,
|
||||||
|
|
Loading…
Reference in a new issue