1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[teamcoco] Correct error

This commit is contained in:
Philipp Hagemeister 2013-11-20 06:25:33 +01:00
parent 86bd5f2ca9
commit cc13cc0251

View file

@ -60,7 +60,7 @@ class TeamcocoIE(InfoExtractor):
return -1 return -1
formats.sort(key=sort_key) formats.sort(key=sort_key)
if not formats: if not formats:
raise RegexNotFoundError(u'Unable to extract video URL') raise ExtractorError(u'Unable to extract video URL')
return { return {
'id': video_id, 'id': video_id,