From 130f12985a9b44781680083d9bcc200a79e9395d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Wed, 22 Jan 2014 11:44:26 +0100 Subject: [PATCH] [comedycentral] Use the generic `_real_extract` provided by the base class --- youtube_dl/extractor/comedycentral.py | 8 -------- 1 file changed, 8 deletions(-) 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'