more raw regexp strings

This commit is contained in:
j 2024-08-30 13:30:47 +02:00
commit ae10c5c9b9
11 changed files with 45 additions and 45 deletions

View file

@ -28,7 +28,7 @@ def get_data(id, language='en'):
if m:
data['director'] = m[0]
m = re.compile("caUI.initImageScroller\(\[\{url:'(.*?)'").findall(html)
m = re.compile(r"caUI.initImageScroller\(\[\{url:'(.*?)'").findall(html)
if m:
data['image'] = m[0]