[youtube] Fix get_video_info request (closes #29086, closes #29165)
authorSergey M․ <dstftw@gmail.com>
Sat, 29 May 2021 17:36:26 +0000 (00:36 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 29 May 2021 17:36:26 +0000 (00:36 +0700)
youtube_dl/extractor/youtube.py

index 0c52e5a8bf07cbe83771a5ec83e3b9b862436800..bf858c39d32e8a5a93183464ef0c860e7cf3f6e4 100644 (file)
@@ -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)