From 804b7e8d84dc6ecdcd516582802215415f40a55d Mon Sep 17 00:00:00 2001 From: James Taylor Date: Tue, 4 Dec 2018 23:24:17 -0800 Subject: Fixed regression that broke subtitles --- youtube_dl/extractor/youtube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube_dl/extractor/youtube.py') diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index cddc2a4..4cd16e9 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -2107,8 +2107,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'view count', default=None)) # 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