1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 09:17:18 +08:00

[xtube] Update cookie name for age verification

This commit is contained in:
Mohamed El Morabity 2020-07-27 11:36:33 +02:00
parent a115e07594
commit c3e1951f0a

View File

@ -84,7 +84,7 @@ class XTubeIE(InfoExtractor):
webpage = self._download_webpage(
url_pattern % video_id, display_id, headers={
'Cookie': 'age_verified=1; cookiesAccepted=1',
'Cookie': 'AGEGATEPASSED=1; cookiesAccepted=1',
})
title, thumbnail, duration = [None] * 3