1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2026-04-24 00:00:07 -04:00

[comedycentral] Modernize

This commit is contained in:
Philipp Hagemeister
2014-11-20 16:36:53 +01:00
parent b244b5c3f9
commit 6adeffa7c6
+1 -3
View File
@@ -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'):