projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5daf0
)
[redtube] Simplify
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Jun 2013 20:27:34 +0000
(22:27 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Jun 2013 20:27:34 +0000
(22:27 +0200)
youtube_dl/extractor/redtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/redtube.py
b/youtube_dl/extractor/redtube.py
index 6d56f16f1d484b2769642305447a17d485c9442a..ebc4e23261bfe029e6e30150c2ca3b264d24ab81 100644
(file)
--- 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'