mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 05:34:15 +01:00
parent
c59a305336
commit
9867f07546
@ -89,7 +89,7 @@ class Svtplay(Service, MetadataThumbMixin):
|
||||
def _get_video(self, janson):
|
||||
if "subtitleReferences" in janson:
|
||||
for i in janson["subtitleReferences"]:
|
||||
if i["format"] == "websrt" and "url" in i:
|
||||
if i["format"] == "webvtt" and "url" in i:
|
||||
yield subtitle(copy.copy(self.config), "wrst", i["url"], output=self.output)
|
||||
|
||||
if "videoReferences" in janson:
|
||||
|
Loading…
Reference in New Issue
Block a user