From 81e327ec1955437b17e4403bc06e6d3bda695ba8 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 21 May 2018 22:13:30 +0200 Subject: [PATCH] tv4play: send other as a argument to the fetcher class --- lib/svtplay_dl/service/tv4play.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index 4c6cd11..5a61674 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -83,8 +83,8 @@ class Tv4play(Service, OpenGraphThumbMixin): parse = urlparse(i.find("url").text) if "rtmp" in base.scheme: swf = "http://www.tv4play.se/flash/tv4playflashlets.swf" - self.options.other = "-W {0} -y {1}".format(swf, i.find("url").text) - yield RTMP(copy.copy(self.config), i.find("base").text, i.find("bitrate").text) + yield RTMP(copy.copy(self.config), i.find("base").text, i.find("bitrate").text, output=self.output, + other="-W {0} -y {1}".format(swf, i.find("url").text)) elif parse.path[len(parse.path) - 3:len(parse.path)] == "f4m": streams = hdsparse(self.config, self.http.request("get", i.find("url").text, params={"hdcore": "3.7.0"}), i.find("url").text, output=self.output)