logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: fbc6dc525e525565544b377a1d16cd915cb11a7c
parent 9150d1eb6936e7f3ad168095f57dc0c8f56d2364
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 10 Feb 2017 01:05:48 +0700

[xtube] Fix shortcuts

Diffstat:

Myoutube_dl/extractor/xtube.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')