mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
rename variable
This commit is contained in:
parent
d3fd1d8b93
commit
b50548d893
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user