1
0
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:
qnorsten 2017-03-21 09:49:07 +01:00
parent f963b5f755
commit a310ceb2a1

View File

@ -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()