commit: 24297a42efc52862cb9510d32b28efd7faf49af6
parent 1980ff4550a3f040fbc1e054d6b91013e9d8cb96
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 30 May 2021 00:36:26 +0700
[youtube] Fix get_video_info request (closes #29086, closes #29165)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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)