From: Sergey M․ Date: Sat, 29 May 2021 17:36:26 +0000 (+0700) Subject: [youtube] Fix get_video_info request (closes #29086, closes #29165) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=24297a42efc52862cb9510d32b28efd7faf49af6;p=youtube-dl [youtube] Fix get_video_info request (closes #29086, closes #29165) --- 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)