diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-12 19:05:57 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-12 19:05:57 -0700 |
commit | 02780a46915bf805abaeb6ff661a013f5c3254bf (patch) | |
tree | 3683e517714e6624250df9a00771fe0826735c7b | |
parent | 1c24ec1408615578ba7c87e04b4e3d9704145dad (diff) | |
download | yt-local-02780a46915bf805abaeb6ff661a013f5c3254bf.tar.lz yt-local-02780a46915bf805abaeb6ff661a013f5c3254bf.tar.xz yt-local-02780a46915bf805abaeb6ff661a013f5c3254bf.zip |
yotube-dl: extract subtitles
-rw-r--r-- | youtube_dl/extractor/youtube.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 772f100..ece476d 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -2009,8 +2009,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor): dislike_count = _extract_count('dislike') # subtitles - video_subtitles = self.extract_subtitles(video_id, video_webpage) - automatic_captions = self.extract_automatic_captions(video_id, video_webpage) + video_subtitles = self._get_subtitles(video_id, video_webpage) + automatic_captions = self._get_automatic_captions(video_id, video_webpage) video_duration = try_get( video_info, lambda x: int_or_none(x['length_seconds'][0])) |