Browse Source

[teamcoco] Correct error

Philipp Hagemeister 11 years ago
parent
commit
cc13cc0251
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/teamcoco.py

+ 1 - 1
youtube_dl/extractor/teamcoco.py

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