Make file names compatible with previous versions

This commit is contained in:
Ritiek Malhotra
2017-06-02 09:56:39 +05:30
committed by GitHub
parent aeff64009e
commit 20a974e37a

View File

@@ -119,7 +119,7 @@ def getYouTubeTitle(content, number):
def generateFileName(content):
title = (content.title).replace(' ', '_')
return slugify(title, ok='_()[]{}', lower=False)
return slugify(title, ok='-_()[]{}', lower=False)
def downloadSong(content):