mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Fix encoding problems in python2
This commit is contained in:
		@@ -297,8 +297,7 @@ def grab_single(raw_song, number=None):
 | 
			
		||||
    # otherwise print "[artist] - [song]"
 | 
			
		||||
    print(get_YouTube_title(content, number))
 | 
			
		||||
    # generate file name of the song to download
 | 
			
		||||
    title = misc.fix_encoding(content.title)
 | 
			
		||||
    music_file = misc.generate_filename(title)
 | 
			
		||||
    music_file = misc.generate_filename(content.title)
 | 
			
		||||
    if not check_exists(music_file, raw_song, islist=islist):
 | 
			
		||||
        download_song(content)
 | 
			
		||||
        print('')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user