1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

hls: we should use .ts and not .mp4

This commit is contained in:
Johan Andersson 2018-03-06 21:46:25 +01:00
parent 4282992719
commit 35691d85cc

View File

@ -111,8 +111,8 @@ class HLS(VideoRetriever):
if self.options.segments:
if self.audio:
self._download(self.audio, file_name=(copy.copy(self.options), "m4a"))
self._download(self.url, file_name=(self.options, "mp4"))
self._download(self.audio, file_name=(copy.copy(self.options), "audio.ts"))
self._download(self.url, file_name=(self.options, "ts"))
else:
self._download(self.url, file_name=(self.options, "ts"))