[youtube] fix videos with age gate
This commit is contained in:
parent
fca8c46c7b
commit
993cb8ce4c
|
@ -1484,8 +1484,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
data = compat_urllib_parse_urlencode({
|
data = compat_urllib_parse_urlencode({
|
||||||
'video_id': video_id,
|
'video_id': video_id,
|
||||||
'eurl': 'https://youtube.googleapis.com/v/' + video_id,
|
'eurl': 'https://youtube.googleapis.com/v/' + video_id,
|
||||||
# 'sts': self._search_regex(
|
'html5': 1,
|
||||||
# r'"sts"\s*:\s*(\d+)', embed_webpage, 'sts', default=''),
|
|
||||||
})
|
})
|
||||||
video_info_url = proto + '://www.youtube.com/get_video_info?' + data
|
video_info_url = proto + '://www.youtube.com/get_video_info?' + data
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue