This extracts the video's caption from the HTML, defangs it (anything apart from A-Z, a-z, 0-9, _ or dot are replaced with a hyphen) and uses it in the output filename.
It also fixes a bug where SD videos couldn't be downloaded because the download URL had 'hd' hard-coded in it instead of using $ISHD. Maybe this is something that vimeo changed recently?
This extracts the video's caption from the HTML, defangs it (anything apart from A-Z, a-z, 0-9, _ or dot are replaced with a hyphen) and uses it in the output filename.
It also fixes a bug where SD videos couldn't be downloaded because the download URL had 'hd' hard-coded in it instead of using $ISHD. Maybe this is something that vimeo changed recently?
You can test it with these videos: SD: http://vimeo.com/13774625 HD: http://vimeo.com/48488523