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.
youtube-dl version 2013.11.17 fails #1786
Comments
|
Running |
|
This has been fixed in youtube-dl v2013.11.18, at least for YouTube. Type |
|
Hmm. Thanks for the work-around. The Domain Name System (DNS) is designed to be case insensitive. So any case for the machine name should work. Can the youtube-dl team consider putting in a tolower() call for just the machine name part of the URL, so examples like I gave will work again? Thanks, From: Jaime Marquínez Ferrándiz [mailto:notifications@github.com] Running youtube-dl 'http://www.youtube.com/watch?v=_VyfE4lVqOY' works (youtube instead of YouTube). — |
|
We are well aware that DNS is case-insensitive. The problem is entirely unrelated to DNS. One can call youtube-dl
This matching can often be case-insensitive, but sometimes not (for example, we can detect whether something is a youtube video or a youtube playlist ID by looking at the first two characters). Therefore, I am not sure how we would be able to proceed. Feel free to propose a patch/pull though. |
Script fails the same on both Linux and Mac, both with and without http proxies (on both platforms). (So the http proxy isn't the issue.)
Command line evidence:
113 Penguin$ youtube-dl --verbose http://www.YouTube.com/watch?v=_VyfE4lVqOY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.YouTube.com/watch?v=_VyfE4lVqOY']
[debug] youtube-dl version 2013.11.17
[debug] Python version 2.7.3 - Linux-3.5.0-43-lowlatency-i686-with-Ubuntu-12.10-quantal
[debug] Proxy map: {'ftp': 'http://localhost:8118/', 'http': 'http://localhost:8118/', 'https': 'http://localhost:8118/'}
WARNING: Falling back on generic information extractor.
[generic] watch?v=_VyfE4lVqOY: Downloading webpage
[generic] watch?v=_VyfE4lVqOY: Extracting information
ERROR: Unsupported URL: http://www.YouTube.com/watch?v=_VyfE4lVqOY; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 404, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 129, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 214, in _real_extract
raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.YouTube.com/watch?v=_VyfE4lVqOY; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
114 Penguin$ youtube-dl -U
youtube-dl is up-to-date (2013.11.17)