]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[teamcoco] Correct error
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 20 Nov 2013 05:25:33 +0000 (06:25 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 20 Nov 2013 05:25:33 +0000 (06:25 +0100)
youtube_dl/extractor/teamcoco.py

index bc48620f0b992366e866181b1dad22aeb2e5d0a6..165d9f88bc984ef80f1fd7aa4ff0d0b10e5fca45 100644 (file)
@@ -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,