* fixes agegate on youtube

unlicense
Dominika Liberda 2021-06-20 22:01:52 +02:00 committed by Dominika
parent f52386cd5c
commit 619d36e26c
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: