Made artist download work
This commit is contained in:
parent
4e1485f8d6
commit
07bdca4599
|
@ -50,7 +50,12 @@ def download(url, bitrate, portable, path):
|
||||||
|
|
||||||
for link in links:
|
for link in links:
|
||||||
downloadObject = generateDownloadObject(dz, link, bitrate)
|
downloadObject = generateDownloadObject(dz, link, bitrate)
|
||||||
Downloader(dz, downloadObject, settings).start()
|
if isinstance(downloadObject, list):
|
||||||
|
for obj in downloadObject:
|
||||||
|
Downloader(dz, obj, settings).start()
|
||||||
|
else:
|
||||||
|
Downloader(dz, downloadObject, settings).start()
|
||||||
|
|
||||||
|
|
||||||
if path is not None:
|
if path is not None:
|
||||||
if path == '': path = '.'
|
if path == '': path = '.'
|
||||||
|
|
Loading…
Reference in New Issue