[xtube] Fix shortcuts
authorSergey M․ <dstftw@gmail.com>
Thu, 9 Feb 2017 18:05:48 +0000 (01:05 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 9 Feb 2017 18:06:23 +0000 (01:06 +0700)
youtube_dl/extractor/xtube.py

index 91bae7ee7a215a881468d97680948270c9212d4c..11717fe980db5c9da97dd8a0c4710c479b0a8715 100644 (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')