diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-09-11 15:51:04 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-09-11 15:51:04 +0200 |
commit | 54d39d8b2f7a9fe148a24dd2785108b7d3823d9d (patch) | |
tree | 9693c767b6526298955d0f98bcbfeb3faea89f4c /youtube_dl/extractor/subtitles.py | |
parent | de7f3446e0bf99a2fe7a93eb28175b16cb2cf6c2 (diff) | |
download | youtube-dl-54d39d8b2f7a9fe148a24dd2785108b7d3823d9d.tar.gz youtube-dl-54d39d8b2f7a9fe148a24dd2785108b7d3823d9d.zip |
[subtitles] rename SubitlesIE to SubtitlesInfoExtractor
Otherwise it can be automatically detected as a IE ready for use.
Diffstat (limited to 'youtube_dl/extractor/subtitles.py')
-rw-r--r-- | youtube_dl/extractor/subtitles.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/subtitles.py b/youtube_dl/extractor/subtitles.py index c10cdf266..8953d6789 100644 --- a/youtube_dl/extractor/subtitles.py +++ b/youtube_dl/extractor/subtitles.py @@ -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): |