projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1f4af
)
[youtube] Fix authentication (closes #11270)
author
Sergey M․
<dstftw@gmail.com>
Thu, 11 Jul 2019 19:26:05 +0000
(
02:26
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 11 Jul 2019 19:26:05 +0000
(
02:26
+0700)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index b570d5bae9b6128afb544e16fc9aef292e64fa01..9f661a84f941cc13dd2e7d705f507ead8ef63d2e 100644
(file)
--- 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,