timpickles/vimeo-uploader — Issue #1: mechanize._mechanize.FormNotFoundError: no form matching nr 1
Author: marioosh-net
Created: 2012-01-28 13:49:56+00:00
State: open

I wanted to use your script, but it crashes like below. What can I do?

$ python vimeo.py video.mp4
Preparing to upload file: .... video.mp4
Traceback (most recent call last):
File "vimeo.py", line 103, in
main()
File "vimeo.py", line 100, in main
v.upload(filename)
File "vimeo.py", line 61, in upload
br.select_form(nr=1)
File "/usr/lib64/python2.6/site-packages/mechanize/_mechanize.py", line 524, in select_form
raise FormNotFoundError("no form matching "+description)
mechanize._mechanize.FormNotFoundError: no form matching nr 1