diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-08-05 04:04:36 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-08-05 04:04:36 +0300 |
commit | f96f5ddad956bca6481280e293ea221410aac56b (patch) | |
tree | 1b190129c3463b90f204fe565b26f784ccb50da8 | |
parent | 7627f548e6de828114e4841385c75a73c0911506 (diff) | |
download | hypervideo-pre-f96f5ddad956bca6481280e293ea221410aac56b.tar.lz hypervideo-pre-f96f5ddad956bca6481280e293ea221410aac56b.tar.xz hypervideo-pre-f96f5ddad956bca6481280e293ea221410aac56b.zip |
rename variable
-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 782aba6ff..feb80f7f4 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1435,7 +1435,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): raise ExtractorError( 'Signature extraction failed: ' + tb, cause=e) - def _get_subtitles(self, video_id, webpage, is_live_content): + def _get_subtitles(self, video_id, webpage, has_live_chat_replay): try: subs_doc = self._download_xml( 'https://video.google.com/timedtext?hl=en&type=list&v=%s' % video_id, @@ -1462,7 +1462,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'ext': ext, }) sub_lang_list[lang] = sub_formats - if is_live_content: + if has_live_chat_replay: sub_lang_list['live_chat'] = [ { 'video_id': video_id, |