From 02780a46915bf805abaeb6ff661a013f5c3254bf Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 12 Jul 2018 19:05:57 -0700 Subject: yotube-dl: extract subtitles --- youtube_dl/extractor/youtube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube_dl/extractor') 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])) -- cgit v1.2.3