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:
parent
6719cd0e15
commit
fc8a2fef9f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user