1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 00:16:48 +00:00

[youtube] fix get_video_info request

This commit is contained in:
Remita Amine 2021-02-21 23:08:40 +01:00
parent 0a04e03a02
commit 2090dbdc8c

View File

@ -1450,7 +1450,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'Refetching age-gated info webpage', 'Refetching age-gated info webpage',
'unable to download video info webpage', query={ 'unable to download video info webpage', query={
'video_id': video_id, 'video_id': video_id,
'eurl': 'https://www.youtube.com/embed/' + video_id, 'eurl': 'https://youtube.googleapis.com/v/' + video_id,
}, fatal=False)), }, fatal=False)),
lambda x: x['player_response'][0], lambda x: x['player_response'][0],
compat_str) or '{}', video_id) compat_str) or '{}', video_id)