1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +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: if match:
xmlurl = unquote_plus(match.group(1)) xmlurl = unquote_plus(match.group(1))
else: else:
match = re.search("moviesList: \[\{\"VideoId\":\"(\d+)\"", self.get_urldata()) match = re.search(
r"moviesList: \[\{\"VideoId\":\"(\d+)\"",
self.get_urldata())
if not match: if not match:
log.error("Can't find video id") log.error("Can't find video id")
sys.exit(2) sys.exit(2)