From: Philipp Hagemeister Date: Sun, 23 Jun 2013 20:27:34 +0000 (+0200) Subject: [redtube] Simplify X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d26d440e193b5748bf4b9f5e028275d0c4007e6f;p=youtube-dl [redtube] Simplify --- diff --git a/youtube_dl/extractor/redtube.py b/youtube_dl/extractor/redtube.py index 6d56f16f1..ebc4e2326 100644 --- a/youtube_dl/extractor/redtube.py +++ b/youtube_dl/extractor/redtube.py @@ -1,9 +1,6 @@ import re from .common import InfoExtractor -from ..utils import ( - ExtractorError, -) class RedTubeIE(InfoExtractor): @@ -11,8 +8,6 @@ class RedTubeIE(InfoExtractor): def _real_extract(self,url): mobj = re.match(self._VALID_URL, url) - if mobj is None: - raise ExtractorError(u'Invalid URL: %s' % url) video_id = mobj.group('id') video_extension = 'mp4'