diff --git a/streamrip/rip/parse_url.py b/streamrip/rip/parse_url.py index c601718..51e0fbc 100644 --- a/streamrip/rip/parse_url.py +++ b/streamrip/rip/parse_url.py @@ -18,7 +18,7 @@ from ..media import ( logger = logging.getLogger("streamrip") URL_REGEX = re.compile( - r"https?://(?:www|open|play|listen)?\.?(qobuz|tidal|deezer)\.com(?:(?:/(album|artist|track|playlist|video|label))|(?:\/[-\w]+?))+\/([-\w]+)", + r"https?://(?:www|open|play|listen)?\.?(qobuz|tidal|deezer|dzr)\.?(com|page.link)(?:(?:/(album|artist|track|playlist|video|label))|(?:\/[-\w]+?))+\/([-\w]+)", ) SOUNDCLOUD_URL_REGEX = re.compile(r"https://soundcloud.com/[-\w:/]+") LASTFM_URL_REGEX = re.compile(r"https://www.last.fm/user/\w+/playlists/\w+") @@ -138,7 +138,7 @@ 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\.page\.link/\w+") + dynamic_link_re = re.compile(r"https://(?:deezer|dzr)\.page\.link/\w+") @classmethod def from_str(cls, url: str) -> URL | None: