diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-02-10 01:05:48 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-02-10 01:06:23 +0700 |
commit | fbc6dc525e525565544b377a1d16cd915cb11a7c (patch) | |
tree | ee10a323df5c1cef1f99d5dc48abba1e00b63f76 | |
parent | 9150d1eb6936e7f3ad168095f57dc0c8f56d2364 (diff) |
[xtube] Fix shortcuts
-rw-r--r-- | youtube_dl/extractor/xtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xtube.py b/youtube_dl/extractor/xtube.py index 91bae7ee7..11717fe98 100644 --- a/youtube_dl/extractor/xtube.py +++ b/youtube_dl/extractor/xtube.py @@ -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') |