A feature-rich command-line audio/video downloader
Remove empty real_initialize defs
Philipp Hagemeister5b3330e0cfda
diff --git a/youtube-dl b/youtube-dlindex 67f8a38fcd..a1d1e2e0da 100755--- a/youtube-dl+++ b/youtube-dl@@ -1562,9 +1562,6 @@ class DailymotionIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[dailymotion] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self, url):# Extract id and simplified title from URLmobj = re.match(self._VALID_URL, url)@@ -1653,9 +1650,6 @@ class GoogleIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[video.google] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self, url):# Extract id from URLmobj = re.match(self._VALID_URL, url)@@ -1760,9 +1754,6 @@ class PhotobucketIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[photobucket] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self, url):# Extract id from URLmobj = re.match(self._VALID_URL, url)@@ -1842,9 +1833,6 @@ class YahooIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[video.yahoo] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self, url, new_video=True):# Extract ID from URLmobj = re.match(self._VALID_URL, url)@@ -1995,9 +1983,6 @@ class VimeoIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[vimeo] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self, url, new_video=True):# Extract ID from URLmobj = re.match(self._VALID_URL, url)@@ -2120,9 +2105,6 @@ class GenericIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[generic] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self, url):# At this point we have a new videoself._downloader.increment_downloads()@@ -2649,9 +2631,6 @@ class DepositFilesIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[DepositFiles] %s: Extracting information' % file_id)- def _real_initialize(self):- return-def _real_extract(self, url):# At this point we have a new fileself._downloader.increment_downloads()@@ -3042,9 +3021,6 @@ class MyVideoIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[myvideo] %s: Extracting information' % video_id)- def _real_initialize(self):- return-def _real_extract(self,url):mobj = re.match(self._VALID_URL, url)if mobj is None:@@ -3507,9 +3483,6 @@ class SoundcloudIE(InfoExtractor):"""Report information extraction."""self._downloader.to_screen(u'[%s] %s: Extracting information' % (self.IE_NAME, video_id))- def _real_initialize(self):- return-def _real_extract(self, url):htmlParser = HTMLParser.HTMLParser()@@ -3536,7 +3509,7 @@ class SoundcloudIE(InfoExtractor):self.report_extraction('%s/%s' % (uploader, slug_title))# extract uid and stream token that soundcloud hands out for access- mobj = re.search('"uid":"([\w\d]+?)".*?stream_token=([\w\d]+)', webpage)+ mobj = re.search('"uid":"([\w\d]+?)".*?stream_token=([\w\d]+)', webpage)if mobj:video_id = mobj.group(1)stream_token = mobj.group(2)@@ -3639,7 +3612,6 @@ class InfoQIE(InfoExtractor):returnvideo_title = mobj.group(1).decode('utf-8')-# Extract descriptionvideo_description = u'No description available.'mobj = re.search(r'<meta name="description" content="(.*)"(?:\s*/)?>', webpage)