projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1980ff4
)
[youtube] Fix get_video_info request (closes #29086, closes #29165)
author
Sergey M․
<dstftw@gmail.com>
Sat, 29 May 2021 17:36:26 +0000
(
00:36
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 29 May 2021 17:36:26 +0000
(
00:36
+0700)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 0c52e5a8bf07cbe83771a5ec83e3b9b862436800..bf858c39d32e8a5a93183464ef0c860e7cf3f6e4 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1499,6
+1499,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor):
'unable to download video info webpage', query={
'video_id': video_id,
'eurl': 'https://youtube.googleapis.com/v/' + video_id,
+ 'html5': 1,
}, fatal=False)),
lambda x: x['player_response'][0],
compat_str) or '{}', video_id)