1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

expressen: Fix anomalous-backslash-in-string pylint warning

This commit is contained in:
Olof Johansson 2014-07-22 09:37:57 +02:00
parent 6719cd0e15
commit fc8a2fef9f

View File

@ -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)