mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Subtitles: Smi-subtitles updated regex to also remove <div tags>
This commit is contained in:
parent
f963b5f755
commit
a310ceb2a1
@ -162,7 +162,7 @@ class subtitle(object):
|
||||
number = 1
|
||||
data = None
|
||||
subs = ""
|
||||
TAG_RE = re.compile(r'<[^(i|>)]+>')
|
||||
TAG_RE = re.compile(r'<(?!\/?i).*?>')
|
||||
bad_char = re.compile(r'\x96')
|
||||
for i in ssubdata.readlines():
|
||||
i = i.rstrip()
|
||||
|
Loading…
Reference in New Issue
Block a user