From: Jaime Marquínez Ferrándiz Date: Wed, 22 Jan 2014 10:44:26 +0000 (+0100) Subject: [comedycentral] Use the generic `_real_extract` provided by the base class X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=130f12985a9b44781680083d9bcc200a79e9395d;p=youtube-dl [comedycentral] Use the generic `_real_extract` provided by the base class --- diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py index f0ad5c9a3..3333d433b 100644 --- a/youtube_dl/extractor/comedycentral.py +++ b/youtube_dl/extractor/comedycentral.py @@ -30,14 +30,6 @@ class ComedyCentralIE(MTVServicesInfoExtractor): }, } - def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - title = mobj.group('title') - webpage = self._download_webpage(url, title) - mgid = self._search_regex(r'data-mgid="(?Pmgid:.*?)"', - webpage, 'mgid') - return self._get_videos_info(mgid) - class ComedyCentralShowsIE(InfoExtractor): IE_DESC = 'The Daily Show / Colbert Report'