aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-12 19:05:57 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-12 19:05:57 -0700
commit02780a46915bf805abaeb6ff661a013f5c3254bf (patch)
tree3683e517714e6624250df9a00771fe0826735c7b /youtube_dl/extractor
parent1c24ec1408615578ba7c87e04b4e3d9704145dad (diff)
downloadyt-local-02780a46915bf805abaeb6ff661a013f5c3254bf.tar.lz
yt-local-02780a46915bf805abaeb6ff661a013f5c3254bf.tar.xz
yt-local-02780a46915bf805abaeb6ff661a013f5c3254bf.zip
yotube-dl: extract subtitles
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/youtube.py4
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]))