summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-23 22:27:34 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-23 22:27:34 +0200
commitd26d440e193b5748bf4b9f5e028275d0c4007e6f (patch)
tree15c656b3dec4eaffd22e10615c27829ec220c968
parent9f5daf0006091124799e13c834db17201ebdbbc5 (diff)
downloadyoutube-dl-d26d440e193b5748bf4b9f5e028275d0c4007e6f.tar.gz
youtube-dl-d26d440e193b5748bf4b9f5e028275d0c4007e6f.tar.xz
youtube-dl-d26d440e193b5748bf4b9f5e028275d0c4007e6f.zip
[redtube] Simplify
-rw-r--r--youtube_dl/extractor/redtube.py5
1 files changed, 0 insertions, 5 deletions
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'