From a682423e96f0d6d28bc61640f760b8fd60f4cf47 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Thu, 21 Feb 2013 20:08:29 +0100 Subject: [PATCH] kanal5play: support for kanal9play.se --- svtplay_dl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svtplay_dl.py b/svtplay_dl.py index b3b4f58..e82a65b 100755 --- a/svtplay_dl.py +++ b/svtplay_dl.py @@ -875,7 +875,7 @@ class Qbrick(): class Kanal5(): def handle(self, url): - return "kanal5play.se" in url + return ("kanal5play.se" in url) or ("kanal9play.se" in url) def get(self, options, url): match = re.search(".*video/([0-9]+)", url) @@ -907,7 +907,7 @@ class Kanal5(): class Kanal9(): def handle(self, url): - return ("kanal9play.se" in url) or ("kanal5.se" in url) + return "kanal5.se" in url def get(self, options, url): data = get_http_data(url)