New error on some videos #407

Closed
opened 2026-02-20 21:12:03 -05:00 by deekerman · 3 comments
Owner

Originally created by @benoon on GitHub (Nov 12, 2012).

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

Originally created by @benoon on GitHub (Nov 12, 2012). 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 <module> 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 <genexpr> 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
deekerman 2026-02-20 21:12:03 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Tailszefox commented on GitHub (Nov 12, 2012):

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?

@Tailszefox commented on GitHub (Nov 12, 2012): 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?
Author
Owner

@benoon commented on GitHub (Nov 23, 2012):

a bit delayed response :), was out longer time...
no, i was not using the latest ver.

i have rtmpdump installed but it seems not to work for me.
do you know any other possibilites than yt-dl to get rtmp videos from yt?

@benoon commented on GitHub (Nov 23, 2012): a bit delayed response :), was out longer time... no, i was not using the latest ver. i have rtmpdump installed but it seems not to work for me. do you know any other possibilites than yt-dl to get rtmp videos from yt?
Author
Owner

@Tailszefox commented on GitHub (Nov 23, 2012):

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.

@Tailszefox commented on GitHub (Nov 23, 2012): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#407
No description provided.