1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-21 17:51:51 +00:00

[youtube] Workaround for get_video_info request (refs #29333)

See https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544
This commit is contained in:
Sergey M․ 2021-06-21 01:34:27 +07:00
parent 4c77a2e538
commit 03ab02730f
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -1512,6 +1512,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'video_id': video_id,
'eurl': 'https://youtube.googleapis.com/v/' + video_id,
'html5': 1,
# See https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544
'c': 'TVHTML5',
'cver': '6.20180913',
}, fatal=False)),
lambda x: x['player_response'][0],
compat_str) or '{}', video_id)