فهرست منبع

[teamcoco] Correct error

Philipp Hagemeister 11 سال پیش
والد
کامیت
cc13cc0251
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      youtube_dl/extractor/teamcoco.py

+ 1 - 1
youtube_dl/extractor/teamcoco.py

@@ -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,