mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-01 03:22:50 -05:00
[subtitles] rename SubitlesIE to SubtitlesInfoExtractor
Otherwise it can be automatically detected as a IE ready for use.
This commit is contained in:
@ -10,7 +10,7 @@ from ..utils import (
|
||||
)
|
||||
|
||||
|
||||
class SubtitlesIE(InfoExtractor):
|
||||
class SubtitlesInfoExtractor(InfoExtractor):
|
||||
|
||||
def _list_available_subtitles(self, video_id):
|
||||
""" outputs the available subtitles for the video """
|
||||
@ -72,7 +72,7 @@ class SubtitlesIE(InfoExtractor):
|
||||
pass
|
||||
|
||||
|
||||
class NoAutoSubtitlesIE(SubtitlesIE):
|
||||
class NoAutoSubtitlesInfoExtractor(SubtitlesInfoExtractor):
|
||||
""" A subtitle class for the servers that don't support auto-captions"""
|
||||
|
||||
def _request_automatic_caption(self, video_id, webpage):
|
||||
|
Reference in New Issue
Block a user