From: Philipp Hagemeister Date: Tue, 24 Jun 2014 08:50:41 +0000 (+0200) Subject: [comedycentral] Correct handling when latest tds episode is a special-episode instead... X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=60b2dd1285a7aeb848e0f3c24f5e9480f9cef616;p=youtube-dl [comedycentral] Correct handling when latest tds episode is a special-episode instead of a regular one --- diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py index ba4d73ab8..8af0abade 100644 --- a/youtube_dl/extractor/comedycentral.py +++ b/youtube_dl/extractor/comedycentral.py @@ -130,7 +130,7 @@ class ComedyCentralShowsIE(InfoExtractor): raise ExtractorError('Invalid redirected URL: ' + url) if mobj.group('episode') == '': raise ExtractorError('Redirected URL is still not specific: ' + url) - epTitle = mobj.group('episode').rpartition('/')[-1] + epTitle = (mobj.group('episode') or mobj.group('videotitle')).rpartition('/')[-1] mMovieParams = re.findall('(?: