Browse Source

[youtube] Fix authentication (closes #11270)

master
Sergey M․ 5 years ago
parent
commit
baf67a604d
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/youtube.py

+ 2
- 0
youtube_dl/extractor/youtube.py View File

@ -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,


Loading…
Cancel
Save