From fc8a2fef9f82b65e0aad7eebf8be5c105e205b52 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Tue, 22 Jul 2014 09:37:57 +0200 Subject: [PATCH] expressen: Fix anomalous-backslash-in-string pylint warning --- lib/svtplay_dl/service/expressen.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/expressen.py b/lib/svtplay_dl/service/expressen.py index 5707bfc..45e46a3 100644 --- a/lib/svtplay_dl/service/expressen.py +++ b/lib/svtplay_dl/service/expressen.py @@ -25,7 +25,9 @@ class Expressen(Service): if match: xmlurl = unquote_plus(match.group(1)) else: - match = re.search("moviesList: \[\{\"VideoId\":\"(\d+)\"", self.get_urldata()) + match = re.search( + r"moviesList: \[\{\"VideoId\":\"(\d+)\"", + self.get_urldata()) if not match: log.error("Can't find video id") sys.exit(2)