aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2021-05-30 00:36:26 +0700
committerSergey M․ <dstftw@gmail.com>2021-05-30 00:36:26 +0700
commit24297a42efc52862cb9510d32b28efd7faf49af6 (patch)
tree926119ff1c01b2409077c45c4dd213d3c03907a0
parent1980ff4550a3f040fbc1e054d6b91013e9d8cb96 (diff)
[youtube] Fix get_video_info request (closes #29086, closes #29165)
-rw-r--r--youtube_dl/extractor/youtube.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 0c52e5a8b..bf858c39d 100644
--- 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)