mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
parent
45fceaaa8f
commit
89284c9d46
@ -291,6 +291,8 @@ class subtitle:
|
||||
cont.encoding = "utf-8"
|
||||
if "mtgx" in self.url:
|
||||
cont.encoding = "utf-8"
|
||||
if "viaplay" in self.url:
|
||||
cont.encoding = "utf-8"
|
||||
text = cont.text.split("\n")
|
||||
for t in text: # is in text[1] for tv4play, but this should be more future proof
|
||||
if "X-TIMESTAMP-MAP=MPEGTS" in t:
|
||||
|
Loading…
Reference in New Issue
Block a user