mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
[youtube] pass embed URL to get_video_info request
This commit is contained in:
parent
07f7aad81c
commit
ab25f3f431
1 changed files with 1 additions and 0 deletions
|
@ -1397,6 +1397,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
'Refetching age-gated info webpage',
|
||||
'unable to download video info webpage', query={
|
||||
'video_id': video_id,
|
||||
'eurl': 'https://www.youtube.com/embed/' + video_id,
|
||||
}, fatal=False)),
|
||||
lambda x: x['player_response'][0],
|
||||
compat_str) or '{}', video_id)
|
||||
|
|
Loading…
Reference in a new issue