From 93388418f024530c80cb237422c656c54cb26cbb Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Thu, 21 Dec 2017 13:24:36 +0530 Subject: [PATCH] Show filepath in debug mode --- spotdl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index fd5b136..e5f369d 100755 --- a/spotdl.py +++ b/spotdl.py @@ -269,12 +269,13 @@ def download_song(file_name, content): else: return False - log.debug('Downloading from URL: ' + link.url) if link is None: return False else: + log.debug('Downloading from URL: ' + link.url) filepath = '{0}{1}'.format(os.path.join(args.folder, file_name), args.input_ext) + log.debug('Saving to: ' + filepath) link.download(filepath=filepath) return True