mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Fix encoding error when getting YT track title
This commit is contained in:
@@ -83,7 +83,7 @@ def generate_filename(title):
|
||||
title = title.replace(' ', '_')
|
||||
# slugify removes any special characters
|
||||
filename = slugify(title, ok='-_()[]{}', lower=False)
|
||||
return filename
|
||||
return fix_encoding(filename)
|
||||
|
||||
# please respect these credentials :)
|
||||
def generate_token():
|
||||
|
||||
Reference in New Issue
Block a user