mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-01 12:05:26 +02:00
Remove empty real_initialize defs
This commit is contained in:
parent
aab771fbdf
commit
5b3330e0cf
28
youtube-dl
28
youtube-dl
@ -1562,9 +1562,6 @@ class DailymotionIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[dailymotion] %s: Extracting information' % video_id)
|
self._downloader.to_screen(u'[dailymotion] %s: Extracting information' % video_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
# Extract id and simplified title from URL
|
# Extract id and simplified title from URL
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
@ -1653,9 +1650,6 @@ class GoogleIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[video.google] %s: Extracting information' % video_id)
|
self._downloader.to_screen(u'[video.google] %s: Extracting information' % video_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
# Extract id from URL
|
# Extract id from URL
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
@ -1760,9 +1754,6 @@ class PhotobucketIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[photobucket] %s: Extracting information' % video_id)
|
self._downloader.to_screen(u'[photobucket] %s: Extracting information' % video_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
# Extract id from URL
|
# Extract id from URL
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
@ -1842,9 +1833,6 @@ class YahooIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[video.yahoo] %s: Extracting information' % video_id)
|
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):
|
def _real_extract(self, url, new_video=True):
|
||||||
# Extract ID from URL
|
# Extract ID from URL
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
@ -1995,9 +1983,6 @@ class VimeoIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[vimeo] %s: Extracting information' % video_id)
|
self._downloader.to_screen(u'[vimeo] %s: Extracting information' % video_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url, new_video=True):
|
def _real_extract(self, url, new_video=True):
|
||||||
# Extract ID from URL
|
# Extract ID from URL
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
@ -2120,9 +2105,6 @@ class GenericIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[generic] %s: Extracting information' % video_id)
|
self._downloader.to_screen(u'[generic] %s: Extracting information' % video_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
# At this point we have a new video
|
# At this point we have a new video
|
||||||
self._downloader.increment_downloads()
|
self._downloader.increment_downloads()
|
||||||
@ -2649,9 +2631,6 @@ class DepositFilesIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[DepositFiles] %s: Extracting information' % file_id)
|
self._downloader.to_screen(u'[DepositFiles] %s: Extracting information' % file_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
# At this point we have a new file
|
# At this point we have a new file
|
||||||
self._downloader.increment_downloads()
|
self._downloader.increment_downloads()
|
||||||
@ -3042,9 +3021,6 @@ class MyVideoIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[myvideo] %s: Extracting information' % video_id)
|
self._downloader.to_screen(u'[myvideo] %s: Extracting information' % video_id)
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self,url):
|
def _real_extract(self,url):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
if mobj is None:
|
if mobj is None:
|
||||||
@ -3507,9 +3483,6 @@ class SoundcloudIE(InfoExtractor):
|
|||||||
"""Report information extraction."""
|
"""Report information extraction."""
|
||||||
self._downloader.to_screen(u'[%s] %s: Extracting information' % (self.IE_NAME, video_id))
|
self._downloader.to_screen(u'[%s] %s: Extracting information' % (self.IE_NAME, video_id))
|
||||||
|
|
||||||
def _real_initialize(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
htmlParser = HTMLParser.HTMLParser()
|
htmlParser = HTMLParser.HTMLParser()
|
||||||
|
|
||||||
@ -3639,7 +3612,6 @@ class InfoQIE(InfoExtractor):
|
|||||||
return
|
return
|
||||||
video_title = mobj.group(1).decode('utf-8')
|
video_title = mobj.group(1).decode('utf-8')
|
||||||
|
|
||||||
|
|
||||||
# Extract description
|
# Extract description
|
||||||
video_description = u'No description available.'
|
video_description = u'No description available.'
|
||||||
mobj = re.search(r'<meta name="description" content="(.*)"(?:\s*/)?>', webpage)
|
mobj = re.search(r'<meta name="description" content="(.*)"(?:\s*/)?>', webpage)
|
||||||
|
Loading…
Reference in New Issue
Block a user