1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00: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)