1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

urplay: only send the label to the subtitle

This commit is contained in:
Johan Andersson 2018-05-27 15:54:24 +02:00
parent d69244d39c
commit 0f0e9fc459

View File

@ -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)