This commit is contained in:
nathom 2021-06-22 14:19:47 -07:00
commit cf3ba60212
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@ if not os.path.isdir(CACHE_DIR):
"--urls",
metavar="URLS",
help="Url from Qobuz, Tidal, SoundCloud, or Deezer",
multiple=True,
)
@click.option(
"-q",

View File

@ -111,7 +111,7 @@ class MusicDL(list):
else:
self.db = []
def handle_urls(self, url: str):
def handle_urls(self, urls):
"""Download a url.
:param url:
@ -119,6 +119,7 @@ class MusicDL(list):
:raises InvalidSourceError
:raises ParsingError
"""
url = ' '.join(urls)
# youtube is handled by youtube-dl, so much of the
# processing is not necessary
youtube_urls = self.youtube_url_parse.findall(url)