mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 22:27:45 +08:00
[xtube] Update cookie name for age verification
This commit is contained in:
parent
a115e07594
commit
c3e1951f0a
@ -84,7 +84,7 @@ class XTubeIE(InfoExtractor):
|
|||||||
|
|
||||||
webpage = self._download_webpage(
|
webpage = self._download_webpage(
|
||||||
url_pattern % video_id, display_id, headers={
|
url_pattern % video_id, display_id, headers={
|
||||||
'Cookie': 'age_verified=1; cookiesAccepted=1',
|
'Cookie': 'AGEGATEPASSED=1; cookiesAccepted=1',
|
||||||
})
|
})
|
||||||
|
|
||||||
title, thumbnail, duration = [None] * 3
|
title, thumbnail, duration = [None] * 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user