From 48114aee5e0397988bbff848af6926f2d4b7d378 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 2 Apr 2025 22:14:11 -0400 Subject: [PATCH] [scrobblers] Fix missing r in regex string --- vrobbler/apps/scrobbles/scrobblers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/scrobbles/scrobblers.py b/vrobbler/apps/scrobbles/scrobblers.py index 49a6750..17a3701 100644 --- a/vrobbler/apps/scrobbles/scrobblers.py +++ b/vrobbler/apps/scrobbles/scrobblers.py @@ -315,7 +315,7 @@ def manual_scrobble_from_url( # Try generic search for any URL with digit-based IDs if not item_id: try: - item_id = re.findall("\d+", url)[0] + item_id = re.findall(r"\d+", url)[0] except IndexError: pass @@ -477,7 +477,7 @@ def todoist_scrobble_task( def manual_scrobble_task(url: str, user_id: int, action: Optional[str] = None): - source_id = re.findall("\d+", url)[0] + source_id = re.findall(r"\d+", url)[0] if "todoist" in url: source = "Todoist"