* fixes agegate on youtube

merge-requests/5/head
Dominika Liberda 2021-06-20 22:01:52 +02:00
parent ed273bfbf2
commit eaf7a8bd6e
1 changed files with 2 additions and 0 deletions

View File

@ -1430,6 +1430,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'video_id': video_id,
'eurl': 'https://youtube.googleapis.com/v/' + video_id,
'html5': 1,
'c': 'TVHTML5',
'cver': '6.20180913',
})
video_info_url = proto + '://www.youtube.com/get_video_info?' + data
try: