Merge branch 'multiple-urls' of gergesh/deemix into master
This commit is contained in:
commit
4c80b73433
|
@ -7,11 +7,12 @@ from deemix.app.settings import initSettings
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.option('-b', '--bitrate', default=None, help='Overwrites the default bitrate selected')
|
@click.option('-b', '--bitrate', default=None, help='Overwrites the default bitrate selected')
|
||||||
@click.argument('url')
|
@click.argument('url', nargs=-1, required=True)
|
||||||
def download(bitrate, url):
|
def download(bitrate, url):
|
||||||
settings = initSettings()
|
settings = initSettings()
|
||||||
app.login()
|
app.login()
|
||||||
app.downloadLink(url, settings, bitrate)
|
for u in url:
|
||||||
|
app.downloadLink(u, settings, bitrate)
|
||||||
click.echo("All done!")
|
click.echo("All done!")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue