mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 05:57:16 +08:00
[xtube] Add age verification cookie to user video list request
This commit is contained in:
parent
c3e1951f0a
commit
f712dbafa7
@ -175,7 +175,7 @@ class XTubeUserIE(InfoExtractor):
|
||||
request = sanitized_Request(
|
||||
'http://www.xtube.com/profile/%s/videos/%d' % (user_id, pagenum),
|
||||
headers={
|
||||
'Cookie': 'popunder=4',
|
||||
'Cookie': 'AGEGATEPASSED=1; popunder=4',
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'Referer': url,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user