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.
New error on some videos #524
Comments
|
Seems these both are RTMP videos, though they fail to download for me. Except I get a proper error though, instead of making Python crash like it does for you. Are you using the latest version? Also, do you have rtmpdump installed? I don't know if it's related, but you need it to be able to download those kind of videos. Regardless though, I think RTMP downloading is still broken, which is unfortunately an issue related to rtmpdump which doesn't support the protocol used by YouTube. Still, you should get a proper error when you try, instead of Python complaining like that. As I said, can you check that you have the latest version of youtube-dl? |
|
a bit delayed response :), was out longer time... i have rtmpdump installed but it seems not to work for me. |
|
Weird that you're getting these errors, then. Anyway, on Linux I don't think there's any tool to get videos through RTMP with the new protocol: rtmpdump is as far as I know the most advanced tool for that and doesn't support it. You may have some luck with some tools on Windows, but even then I wouldn't bet on it too much. I suppose the point of using RTMP is to prevent people from downloading entire movies like that. Or maybe it's just more convenient for them. Either way I don't think there's a way to download them as of now, sorry. I could very well be wrong though, someone else may have an idea. |
Anyone know what error is that ?
It happens from time to time for some videos.
Example:
./youtube-dl http://www.youtube.com/watch?v=ahekmrIM-Sw
[youtube] Setting language
[youtube] ahekmrIM-Sw: Downloading video webpage
[youtube] ahekmrIM-Sw: Downloading video info webpage
[youtube] ahekmrIM-Sw: Extracting video information
Traceback (most recent call last):
File "./youtube-dl", line 3017, in
retcode = fd.download(all_urls)
File "./youtube-dl", line 609, in download
ie.extract(url)
File "./youtube-dl", line 852, in extract
return self._real_extract(url)
File "./youtube-dl", line 1115, in _real_extract
url_map = dict((ud['itag'], urllib.unquote(ud['url']) + '&signature=' + ud['sig']) for ud in url_data)
File "./youtube-dl", line 1115, in
url_map = dict((ud['itag'], urllib.unquote(ud['url']) + '&signature=' + ud['sig']) for ud in url_data)
KeyError: 'url'
Here another example video which gives the same: http://www.youtube.com/watch?v=7prEbLsc_r4