1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-12 06:49:36 +00:00

[xtube] Fix shortcuts

This commit is contained in:
Sergey M․ 2017-02-10 01:05:48 +07:00
parent 9150d1eb69
commit fbc6dc525e
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -53,7 +53,7 @@ class XTubeIE(InfoExtractor):
if not display_id:
display_id = video_id
url = 'http://www.xtube.com/watch.php?v=%s' % video_id
url = 'http://www.xtube.com/video-watch/-%s' % video_id
req = sanitized_Request(url)
req.add_header('Cookie', 'age_verified=1; cookiesAccepted=1')