diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-12-04 23:24:17 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-12-04 23:24:17 -0800 |
commit | 804b7e8d84dc6ecdcd516582802215415f40a55d (patch) | |
tree | 05a9cfbb1ef0cb8b31a66b6fac648a909cb78266 /youtube_dl/extractor/youtube.py | |
parent | 357de43122615623684dd5a22680ce30082e9631 (diff) | |
download | yt-local-804b7e8d84dc6ecdcd516582802215415f40a55d.tar.lz yt-local-804b7e8d84dc6ecdcd516582802215415f40a55d.tar.xz yt-local-804b7e8d84dc6ecdcd516582802215415f40a55d.zip |
Fixed regression that broke subtitles
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-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 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])) |