Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I think xhamter changed the page code... urls are differents...
youtube-dl https://pt.xhamster.com/videos/euro-pedal-pumping-7937821 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://pt.xhamster.com/videos/euro-pedal-pumping-7937821', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.02
[debug] Python version 2.7.5 - Linux-3.10.0-514.26.2.el7.x86_64-x86_64-with-centos-7.3.1611-Core
[debug] exe versions: avconv v13_dev0-850-gb446f0e-static, avprobe v13_dev0-850-gb446f0e-static, ffmpeg 3.3.1-static, ffprobe 3.3.1-static
[debug] Proxy map: {}
[generic] euro-pedal-pumping-7937821: Requesting header
WARNING: Falling back on generic information extractor.
[generic] euro-pedal-pumping-7937821: Downloading webpage
[generic] euro-pedal-pumping-7937821: Extracting information
[download] Downloading playlist: video
[generic] playlist video: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[XHamsterEmbed] 7937821: Downloading webpage
ERROR: Unable to extract vars; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 762, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/xhamster.py", line 215, in _real_extract
self._search_regex(r'vars\s*:\s*({.+?})\s*,\s*\n', webpage, 'vars'),
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 782, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract vars; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.