Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions streamrip/rip/parse_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down