From ce3a6c3d5a50fab2dca3100f014137dda057f71f Mon Sep 17 00:00:00 2001 From: ritiek Date: Wed, 12 Jul 2017 00:03:38 +0530 Subject: [PATCH] Replace '/' with '_' instead of deleting it --- core/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/misc.py b/core/misc.py index a9d523c..5f84261 100755 --- a/core/misc.py +++ b/core/misc.py @@ -80,6 +80,7 @@ def is_spotify(raw_song): def sanitize_title(title): """Generate filename of the song to be downloaded.""" title = title.replace(' ', '_') + title = title.replace('/', '_') # slugify removes any special characters title = slugify(title, ok='-_()[]{}', lower=False)