scdl-org / scdl

Soundcloud Music Downloader
GNU General Public License v2.0
3.29k stars 331 forks source link

"path not found" error #479

Closed JBWHH closed 3 months ago

JBWHH commented 3 months ago

Getting this error:

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\joelb\AppData\Local\Programs\Python\Python311\Scripts\scdl.exe__main__.py", line 7, in sys.exit(main()) ^^^^^^ File "C:\Users\joelb\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 239, in main download_url(client, python_args) File "C:\Users\joelb\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 314, in download_url download_playlist(client, item, playlist_offset=offset, kwargs) File "C:\Users\joelb\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 463, in download_playlist os.makedirs(playlist_name) File "", line 225, in makedirs FileNotFoundError: [WinError 3] The system cannot find the path specified: ''

7x11x13 commented 3 months ago

What playlist are you trying to download, can you link it?

JBWHH commented 3 months ago

https://soundcloud.com/user-743719041/sets/rkogbeltilyi

it worked fine with the other playlists, not sure what i'm doing wrong here. Appreciate the reply!

adithayyil commented 3 months ago

The issue appears to be that sanitize_filename returns an empty string when given a string such as '...'

7x11x13 commented 3 months ago

Should be fixed in v2.7.8