glomatico / spotify-web-downloader

A Python CLI app for downloading songs and music videos directly from Spotify.
433 stars 50 forks source link

TypeError: argument of type 'WindowsPath' is not iterable #3

Closed balleno75 closed 1 year ago

balleno75 commented 1 year ago

Hello,

Thank you very much for the application. I have followed the steps for its installation and configuration, but this error is generated when I try to download any content (song, album, etc.)

$ spotify-aac-downloader https://open.spotify.com/album/35dut3ICqF3NEDkjxfzJJ1 -p -e Downloading "Starboy (feat. Daft Punk)" (track 1/21 from URL 1/1) Failed to download "Starboy (feat. Daft Punk)" (track 1/21 from URL 1/1) Traceback (most recent call last): File "c:\users\manu\appdata\local\programs\python\python37\lib\site-packages\spotify_aac_downloader__init__.py", line 139, in main dl.fixup(decryption_key, encrypted_location, fixed_location) File "c:\users\manu\appdata\local\programs\python\python37\lib\site-packages\spotify_aac_downloader\spotify_aac_downloader.py", line 245, in fixup check=True File "c:\users\manu\appdata\local\programs\python\python37\lib\subprocess.py", line 488, in run with Popen(*popenargs, **kwargs) as process: File "c:\users\manu\appdata\local\programs\python\python37\lib\subprocess.py", line 800, in init restore_signals, start_new_session) File "c:\users\manu\appdata\local\programs\python\python37\lib\subprocess.py", line 1148, in _execute_child args = list2cmdline(args) File "c:\users\manu\appdata\local\programs\python\python37\lib\subprocess.py", line 555, in list2cmdline needquote = (" " in arg) or ("\t" in arg) or not arg TypeError: argument of type 'WindowsPath' is not iterable

You can help me?. Thank you so much. A greeting.