diff --git a/streamrip/core.py b/streamrip/core.py index 335f5bf..69dc2df 100644 --- a/streamrip/core.py +++ b/streamrip/core.py @@ -26,13 +26,13 @@ from .config import Config from .constants import ( CONFIG_PATH, DB_PATH, + DEEZER_DYNAMIC_LINK_REGEX, LASTFM_URL_REGEX, MEDIA_TYPES, QOBUZ_INTERPRETER_URL_REGEX, SOUNDCLOUD_URL_REGEX, URL_REGEX, YOUTUBE_URL_REGEX, - DEEZER_DYNAMIC_LINK_REGEX, ) from .db import MusicDB from .exceptions import ( @@ -43,7 +43,7 @@ from .exceptions import ( ParsingError, ) from .tracklists import Album, Artist, Label, Playlist, Tracklist -from .utils import extract_interpreter_url, extract_deezer_dynamic_link +from .utils import extract_deezer_dynamic_link, extract_interpreter_url logger = logging.getLogger("streamrip") diff --git a/streamrip/utils.py b/streamrip/utils.py index 5334261..695c0d0 100644 --- a/streamrip/utils.py +++ b/streamrip/utils.py @@ -337,7 +337,9 @@ def extract_interpreter_url(url: str) -> str: ) -deezer_id_link_regex = re.compile(r"https://www\.deezer\.com/[a-z]{2}/(album|artist|playlist|track)/(\d+)") +deezer_id_link_regex = re.compile( + r"https://www\.deezer\.com/[a-z]{2}/(album|artist|playlist|track)/(\d+)" +) def extract_deezer_dynamic_link(url: str) -> Tuple[str, str]: