mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Fix EncodingError on music_file with special chars
This commit is contained in:
		@@ -117,7 +117,8 @@ def getYouTubeTitle(content, number):
 | 
			
		||||
 | 
			
		||||
def generateFileName(content):
 | 
			
		||||
    title = (content.title).replace(' ', '_')
 | 
			
		||||
    return slugify(title, ok='-_()[]{}', lower=False)
 | 
			
		||||
    title = slugify(title, ok='-_()[]{}', lower=False)
 | 
			
		||||
    return fixEncoding(title)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def downloadSong(content):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user