1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

svtplay: it should be websrt and not wsrt

This commit is contained in:
Johan Andersson 2015-12-28 11:41:39 +01:00
parent 0a20279a94
commit 4237021bc7

View File

@ -64,7 +64,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
if "subtitleReferences" in data:
for i in data["subtitleReferences"]:
if i["format"] == "wsrt":
if i["format"] == "websrt":
yield subtitle(copy.copy(self.options), "wrst", i["url"])
if old and dataj["video"]["subtitleReferences"]:
try: