mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2026-02-13 12:59:45 +00:00
Show filepath in debug mode
This commit is contained in:
@@ -269,12 +269,13 @@ def download_song(file_name, content):
|
|||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
log.debug('Downloading from URL: ' + link.url)
|
|
||||||
if link is None:
|
if link is None:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
log.debug('Downloading from URL: ' + link.url)
|
||||||
filepath = '{0}{1}'.format(os.path.join(args.folder, file_name),
|
filepath = '{0}{1}'.format(os.path.join(args.folder, file_name),
|
||||||
args.input_ext)
|
args.input_ext)
|
||||||
|
log.debug('Saving to: ' + filepath)
|
||||||
link.download(filepath=filepath)
|
link.download(filepath=filepath)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user