1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-28 05:55:52 +01:00

[youtube] Fix get_video_info request (closes #29086, closes #29165)

This commit is contained in:
Sergey M․ 2021-05-30 00:36:26 +07:00
parent 1980ff4550
commit 24297a42ef
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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)