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

Crash when downloading Vimeo with --get-format #387

Closed
alexstuckey opened this issue Aug 2, 2012 · 3 comments
Closed

Crash when downloading Vimeo with --get-format #387

alexstuckey opened this issue Aug 2, 2012 · 3 comments

Comments

@alexstuckey
Copy link

@alexstuckey alexstuckey commented Aug 2, 2012

When I try to download a Vimeo video with the --get-format option it crashes. I don't know if youtube-dl is meant to be able to do this with a Vimeo video but it should at least quit gracefully with out a traceback.

alex@aserver:~/youtube$ youtube-dl --get-format https://vimeo.com/43796489
(531, 96)
(534, 88)
(534, 176)
(534, 264)
(534, 352)
(534, 440)
(534, 528)
(534, 616)
(534, 704)
(534, 792)
(534, 880)
(534, 968)
Traceback (most recent call last):
  File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/alex/bin/youtube-dl/__main__.py", line 7, in <module>
  File "/home/alex/bin/youtube-dl/__init__.py", line 535, in main
  File "/home/alex/bin/youtube-dl/__init__.py", line 519, in _real_main
  File "/home/alex/bin/youtube-dl/FileDownloader.py", line 479, in download
  File "/home/alex/bin/youtube-dl/FileDownloader.py", line 373, in process_info
KeyError: 'format'
@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Aug 19, 2012

You are right, we should specify which info_dict values are required, which are optional, and then do checks consequently. Next on the to-do list.

@yasoob
Copy link
Contributor

@yasoob yasoob commented Jul 8, 2013

I am getting this output not the same as yours and i am also not getting an error :

root@bt:~/Desktop/youtube-dl# python youtube_dl/__main__.py --get-format https://vimeo.com/43796489
mp4
@alexstuckey
Copy link
Author

@alexstuckey alexstuckey commented Jul 8, 2013

I just tried it again with a newer version of youtube-dl (2013.07.05) on a Mac and it worked successfully 👍

zeus:~ alex$ youtube-dl --get-format https://vimeo.com/43796489
mp4
@phihag phihag closed this Jul 8, 2013
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
4 participants
You can’t perform that action at this time.