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:
parent
0a20279a94
commit
4237021bc7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user