mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-24 03:08:45 +00:00
[cleanup] Remove dead extractors (#8604)
Closes #1609, Closes #3232, Closes #4763, Closes #6026, Closes #6322, Closes #7912 Authored by: seproDev
This commit is contained in:
@@ -51,7 +51,7 @@ class VoxMediaVolumeIE(OnceIE):
|
||||
info['duration'] = int_or_none(asset.get('duration'))
|
||||
return info
|
||||
|
||||
for provider_video_type in ('ooyala', 'youtube', 'brightcove'):
|
||||
for provider_video_type in ('youtube', 'brightcove'):
|
||||
provider_video_id = video_data.get('%s_id' % provider_video_type)
|
||||
if not provider_video_id:
|
||||
continue
|
||||
@@ -177,7 +177,6 @@ class VoxMediaIE(InfoExtractor):
|
||||
def create_entry(provider_video_id, provider_video_type, title=None, description=None):
|
||||
video_url = {
|
||||
'youtube': '%s',
|
||||
'ooyala': 'ooyala:%s',
|
||||
'volume': 'http://volume.vox-cdn.com/embed/%s',
|
||||
}[provider_video_type] % provider_video_id
|
||||
return {
|
||||
@@ -205,11 +204,6 @@ class VoxMediaIE(InfoExtractor):
|
||||
provider_video_id, provider_video_type,
|
||||
video_data.get('title'), video_data.get('description')))
|
||||
|
||||
provider_video_id = self._search_regex(
|
||||
r'data-ooyala-id="([^"]+)"', webpage, 'ooyala id', default=None)
|
||||
if provider_video_id:
|
||||
entries.append(create_entry(provider_video_id, 'ooyala'))
|
||||
|
||||
volume_uuid = self._search_regex(
|
||||
r'data-volume-uuid="([^"]+)"', webpage, 'volume uuid', default=None)
|
||||
if volume_uuid:
|
||||
|
||||
Reference in New Issue
Block a user