[comedycentral] Use the generic `_real_extract` provided by the base class
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 22 Jan 2014 10:44:26 +0000 (11:44 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 22 Jan 2014 10:44:26 +0000 (11:44 +0100)
youtube_dl/extractor/comedycentral.py

index f0ad5c9a33c20049adacec790b4d72b4496a78ab..3333d433bc42f89c0dc8dc7ff264010ef5bda9a6 100644 (file)
@@ -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'