scdl-org / scdl

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

handle empty string playlists #480

Closed adithayyil closed 3 months ago

adithayyil commented 3 months ago

kindof a shitty #479 fix lol

Now uses playlist's permalink for playlist_name whenever sanitize_filename returns a empty string.

7x11x13 commented 3 months ago

I think we should just change sanitize_filename() to sanitize_filename(replacement_text="�")

7x11x13 commented 3 months ago

We should do this for playlist name and in get_filename. If you make this a PR I'll merge it