diff --git a/src/pyramid/services/spotify_search.py b/src/pyramid/services/spotify_search.py index e763edd..647371d 100644 --- a/src/pyramid/services/spotify_search.py +++ b/src/pyramid/services/spotify_search.py @@ -126,7 +126,7 @@ async def get_by_url( @classmethod def extract_from_url(cls, url) -> tuple[str, SpotifyType | None] | tuple[None, None]: - pattern = r"^(?:https?:\/\/)?(?:www\.)?open\.spotify\.com\/(?:\w{2}\/)?(?P\w+)\/(?P\w+)" + pattern = r"^(?:https?:\/\/)?(?:www\.)?open\.spotify\.com\/(?:intl-\w+\/)?(?:\w+\/)?(?P\w+)\/(?P\w+)" match = re.search(pattern, url) if not match: return None, None