From 71c29c1a02290a506c7fc5626f4e51247ad0a497 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 22 Dec 2014 10:17:14 +0100 Subject: [PATCH] radioplay: forgot data input in re.search --- lib/svtplay_dl/service/radioplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/radioplay.py b/lib/svtplay_dl/service/radioplay.py index 781c67e..3999879 100644 --- a/lib/svtplay_dl/service/radioplay.py +++ b/lib/svtplay_dl/service/radioplay.py @@ -20,7 +20,7 @@ class Radioplay(Service): if error: log.error("Can't get the page") return - match = re.search(r"RP.vcdData = ({.*});", ) + match = re.search(r"RP.vcdData = ({.*});", data) if match: data = json.loads(match.group(1)) for i in list(data["station"]["streams"].keys()):