mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[xtube] Fix shortcuts
This commit is contained in:
parent
9150d1eb69
commit
fbc6dc525e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
if not display_id:
|
if not display_id:
|
||||||
display_id = video_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 = sanitized_Request(url)
|
||||||
req.add_header('Cookie', 'age_verified=1; cookiesAccepted=1')
|
req.add_header('Cookie', 'age_verified=1; cookiesAccepted=1')
|
||||||
|
|
Loading…
Reference in a new issue