diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-01-22 11:35:17 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-01-22 11:35:17 +0100 |
commit | 4bbf139aa75cace056989411003e4a1b6b2616e7 (patch) | |
tree | 232a4706afc6a26d6a7ff656489cc87a22df09c0 /youtube_dl/extractor/southparkstudios.py | |
parent | 407ae733ab24dbe4fdbd5b996aef6438f16834a2 (diff) |
[southparkstudios] Use the generic `_real_extract` provided by the base class
Diffstat (limited to 'youtube_dl/extractor/southparkstudios.py')
-rw-r--r-- | youtube_dl/extractor/southparkstudios.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/youtube_dl/extractor/southparkstudios.py b/youtube_dl/extractor/southparkstudios.py index fd90cc5dd..9f8d3a5fa 100644 --- a/youtube_dl/extractor/southparkstudios.py +++ b/youtube_dl/extractor/southparkstudios.py @@ -18,14 +18,6 @@ class SouthParkStudiosIE(MTVServicesInfoExtractor): }, }] - def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - url = u'http://www.' + mobj.group(u'url') - video_id = mobj.group('id') - webpage = self._download_webpage(url, video_id) - mgid = self._search_regex(r'swfobject.embedSWF\(".*?(mgid:.*?)"', - webpage, u'mgid') - return self._get_videos_info(mgid) class SouthparkDeIE(SouthParkStudiosIE): IE_NAME = u'southpark.de' |