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

Remove unused 'extention' in raw service

This commit is contained in:
dalgr 2018-02-11 21:12:00 +01:00
parent fb07e84fa6
commit e721c45acd

View File

@ -32,15 +32,9 @@ class Raw(Service):
if re.search(".m3u8", self.url):
streams.append(hlsparse(self.options, self.http.request("get", self.url), self.url))
if extention:
self.options.output = "{0}.ts".format(self.options.output)
if re.search(".mpd", self.url):
streams.append(dashparse(self.options, self.http.request("get", self.url), self.url))
if extention:
self.options.output = "{0}.mp4".format(self.options.output)
for stream in streams:
for n in list(stream.keys()):
yield stream[n]