1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04: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: if "subtitleReferences" in data:
for i in data["subtitleReferences"]: for i in data["subtitleReferences"]:
if i["format"] == "wsrt": if i["format"] == "websrt":
yield subtitle(copy.copy(self.options), "wrst", i["url"]) yield subtitle(copy.copy(self.options), "wrst", i["url"])
if old and dataj["video"]["subtitleReferences"]: if old and dataj["video"]["subtitleReferences"]:
try: try: