Skip to content

Commit

Permalink
[youtube] Fix authentication (closes #11270)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Jul 11, 2019
1 parent 0d1f4af commit baf67a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit baf67a6

Please sign in to comment.