Browse Source

[xtube] Fix shortcuts

master-ytdl-org
Sergey M․ 8 years ago
parent
commit
fbc6dc525e
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/xtube.py

+ 1
- 1
youtube_dl/extractor/xtube.py 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')


Loading…
Cancel
Save