aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-10 01:05:48 +0700
committerSergey M․ <dstftw@gmail.com>2017-02-10 01:06:23 +0700
commitfbc6dc525e525565544b377a1d16cd915cb11a7c (patch)
treeee10a323df5c1cef1f99d5dc48abba1e00b63f76 /youtube_dl
parent9150d1eb6936e7f3ad168095f57dc0c8f56d2364 (diff)
[xtube] Fix shortcuts
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/xtube.py2
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')