aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/comedycentral.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-01-22 11:44:26 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-01-22 11:44:26 +0100
commit130f12985a9b44781680083d9bcc200a79e9395d (patch)
treeffee238401ca1570424da96b8a8456171a714061 /youtube_dl/extractor/comedycentral.py
parent4ca5d43cd8c874da82be5754548d2419266cba19 (diff)
downloadyoutube-dl-130f12985a9b44781680083d9bcc200a79e9395d.zip
youtube-dl-130f12985a9b44781680083d9bcc200a79e9395d.tar.gz
youtube-dl-130f12985a9b44781680083d9bcc200a79e9395d.tar.bz2
[comedycentral] Use the generic `_real_extract` provided by the base class
Diffstat (limited to 'youtube_dl/extractor/comedycentral.py')
-rw-r--r--youtube_dl/extractor/comedycentral.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py
index f0ad5c9..3333d43 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="(?P<mgid>mgid:.*?)"',
- webpage, 'mgid')
- return self._get_videos_info(mgid)
-
class ComedyCentralShowsIE(InfoExtractor):
IE_DESC = 'The Daily Show / Colbert Report'