projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b244b5c
)
[comedycentral] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:36:53 +0000
(16:36 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:36:53 +0000
(16:36 +0100)
youtube_dl/extractor/comedycentral.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/comedycentral.py
b/youtube_dl/extractor/comedycentral.py
index f0da1844fa5274be4d3e36d36ecba3b99669e552..2e3ef3fdab4c25f2818f46a820702056ceb3f294 100644
(file)
--- a/
youtube_dl/extractor/comedycentral.py
+++ b/
youtube_dl/extractor/comedycentral.py
@@
-109,9
+109,7
@@
class ComedyCentralShowsIE(MTVServicesInfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url, re.VERBOSE)
- if mobj is None:
- raise ExtractorError('Invalid URL: %s' % url)
+ mobj = re.match(self._VALID_URL, url)
if mobj.group('shortname'):
if mobj.group('shortname') in ('tds', 'thedailyshow'):