Make file names compatible with previous versions

This commit is contained in:
Ritiek Malhotra
2017-06-02 09:37:53 +05:30
committed by GitHub
parent 5f2d29c06b
commit aeff64009e

View File

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