youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 6adeffa7c686de97c8e259a8ef474bc807d611d7
parent b244b5c3f9082a307f0e1c4ee561594bd389aeb2
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Thu, 20 Nov 2014 16:36:53 +0100

[comedycentral] Modernize

Diffstat:
Myoutube_dl/extractor/comedycentral.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 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'):