projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9150d1e
)
[xtube] Fix shortcuts
author
Sergey M․
<dstftw@gmail.com>
Thu, 9 Feb 2017 18:05:48 +0000
(
01:05
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 9 Feb 2017 18:06:23 +0000
(
01:06
+0700)
youtube_dl/extractor/xtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xtube.py
b/youtube_dl/extractor/xtube.py
index 91bae7ee7a215a881468d97680948270c9212d4c..11717fe980db5c9da97dd8a0c4710c479b0a8715 100644
(file)
--- 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')