1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[youtube] Fix authentication (closes #11270)

This commit is contained in:
Sergey M․ 2019-07-12 02:26:05 +07:00
parent 0d1f4af39d
commit baf67a604d
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -116,6 +116,8 @@ def req(url, f_req, note, errnote):
'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,