Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New error on some videos #524

Closed
benoon opened this issue Nov 12, 2012 · 3 comments
Closed

New error on some videos #524

benoon opened this issue Nov 12, 2012 · 3 comments
Labels
bug

Comments

@benoon
Copy link

@benoon benoon commented 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

@Tailszefox
Copy link
Contributor

@Tailszefox Tailszefox commented 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?

@benoon
Copy link
Author

@benoon benoon commented 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?

@Tailszefox
Copy link
Contributor

@Tailszefox Tailszefox commented 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.

@remitamine remitamine closed this May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.