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