less
This commit is contained in:
parent
ddb318fa72
commit
26a90dfd6e
1 changed files with 2 additions and 1 deletions
|
@ -88,8 +88,9 @@ def render_subtitles(item_json, output_json, output_srt, lang=None):
|
|||
'in': sub_in,
|
||||
'out': sub_out,
|
||||
'value': [],
|
||||
'ids': []
|
||||
}
|
||||
if lang is None:
|
||||
subs[sub_id]['ids'] = []
|
||||
is_korean = 'lang="ko"' in sub['value']
|
||||
value = sub['value'].replace('<br>', '')
|
||||
value = value.replace('<span lang="ko">', '').replace('</span>', '').strip()
|
||||
|
|
Loading…
Reference in a new issue