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:
parent
4282992719
commit
35691d85cc
@ -111,8 +111,8 @@ class HLS(VideoRetriever):
|
|||||||
|
|
||||||
if self.options.segments:
|
if self.options.segments:
|
||||||
if self.audio:
|
if self.audio:
|
||||||
self._download(self.audio, file_name=(copy.copy(self.options), "m4a"))
|
self._download(self.audio, file_name=(copy.copy(self.options), "audio.ts"))
|
||||||
self._download(self.url, file_name=(self.options, "mp4"))
|
self._download(self.url, file_name=(self.options, "ts"))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self._download(self.url, file_name=(self.options, "ts"))
|
self._download(self.url, file_name=(self.options, "ts"))
|
||||||
|
Loading…
Reference in New Issue
Block a user