mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
parent
544f131ae4
commit
bc7ccc5918
@ -48,7 +48,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
|
||||
|
||||
if "subtitles" in janson["video"]:
|
||||
for i in janson["video"]["subtitles"]:
|
||||
if i["format"] == "WebSRT":
|
||||
if i["format"] == "WebSRT" and "url" in i:
|
||||
yield subtitle(copy.copy(self.options), "wrst", i["url"])
|
||||
|
||||
if "videoReferences" in janson["video"]:
|
||||
|
Loading…
Reference in New Issue
Block a user