mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-22 19:25:24 -04:00
Add support for multiple -u arguments.
This commit is contained in:
parent
6b794a1abb
commit
67657723ca
2 changed files with 35 additions and 33 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,8 @@ class MusicDL(list):
|
|||
else:
|
||||
self.db = []
|
||||
|
||||
def handle_urls(self, url: str):
|
||||
def handle_urls(self, urls):
|
||||
for url in urls:
|
||||
"""Download a url.
|
||||
|
||||
:param url:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue