mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-20 02:05:41 -04:00
Formatting
Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
parent
4f76b7557f
commit
f92002d3aa
2 changed files with 5 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue