From 282a9cd273331caa8a2eb14a451af1722fe4acc3 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 22 Dec 2014 11:02:28 +0100 Subject: [PATCH] mtvservices: data input to re.search --- lib/svtplay_dl/service/mtvservices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/mtvservices.py b/lib/svtplay_dl/service/mtvservices.py index c7fe741..b7125c3 100644 --- a/lib/svtplay_dl/service/mtvservices.py +++ b/lib/svtplay_dl/service/mtvservices.py @@ -19,7 +19,7 @@ class Mtvservices(Service): if error: log.error("Cant get page") return - match = re.search(r"mgid=\"(mgid.*[0-9]+)\" data-wi", ) + match = re.search(r"mgid=\"(mgid.*[0-9]+)\" data-wi", data) if not match: log.error("Can't find video file") return