diff --git a/streamrip/rip/parse_url.py b/streamrip/rip/parse_url.py index bdfa0b03..1ab963d9 100644 --- a/streamrip/rip/parse_url.py +++ b/streamrip/rip/parse_url.py @@ -138,14 +138,14 @@ class DeezerDynamicURL(URL): standard_link_re = re.compile( r"https://www\.deezer\.com/[a-z]{2}/(album|artist|playlist|track)/(\d+)" ) - dynamic_link_re = re.compile(r"https://(?:deezer|dzr)\.page\.link/\w+") + dynamic_link_re = re.compile( + r"https://(?:link\.deezer\.com/s|deezer\.page\.link)/\w+" + ) @classmethod def from_str(cls, url: str) -> URL | None: match = cls.dynamic_link_re.match(url) - if match is None: - return None - + if match is None: return None return cls(match, "deezer") async def into_pending(