mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-20 10:15:23 -04:00
Merge branch 'dev' of https://github.com/nathom/streamrip into dev
This commit is contained in:
commit
cf3ba60212
2 changed files with 3 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue