[vimeo] Fix pro videos and player.vimeo.com urls

The old process can still be used for those videos.
Added RegexNotFoundError, which is raised by _search_regex if it can't extract the info.
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-10-23 14:38:03 +02:00
parent 365bcf6d97
commit 55b3e45bba
3 changed files with 14 additions and 2 deletions

View file

@ -572,6 +572,11 @@ class ExtractorError(Exception):
return u''.join(traceback.format_tb(self.traceback))
class RegexNotFoundError(ExtractorError):
"""Error when a regex didn't match"""
pass
class DownloadError(Exception):
"""Download Error exception.