mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
urplay: only send the label to the subtitle
This commit is contained in:
parent
d69244d39c
commit
0f0e9fc459
@ -36,7 +36,7 @@ class Urplay(Service, OpenGraphThumbMixin):
|
||||
else:
|
||||
subtype = "tt"
|
||||
if self.config.get("get_all_subtitles"):
|
||||
yield subtitle(copy.copy(self.config), subtype, absurl, "-" + filenamify(sub["label"]), output=self.output)
|
||||
yield subtitle(copy.copy(self.config), subtype, absurl, sub["label"], output=self.output)
|
||||
else:
|
||||
yield subtitle(copy.copy(self.config), subtype, absurl, output=self.output)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user