From e721c45acd48cb9f6ca22dfcc5491ed83b7c3621 Mon Sep 17 00:00:00 2001 From: dalgr Date: Sun, 11 Feb 2018 21:12:00 +0100 Subject: [PATCH] Remove unused 'extention' in raw service --- lib/svtplay_dl/service/raw.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/svtplay_dl/service/raw.py b/lib/svtplay_dl/service/raw.py index 83bcac0..3cce572 100644 --- a/lib/svtplay_dl/service/raw.py +++ b/lib/svtplay_dl/service/raw.py @@ -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]