Skip to content

Commit

Permalink
Merge branch 'master' into youtube_web
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Feb 23, 2020
2 parents 50360bd + fdbe30b commit c05fceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SpotifyExport.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from spotipy.oauth2 import SpotifyClientCredentials
import spotipy
import settings
import html

class Spotify:
def __init__(self):
Expand Down Expand Up @@ -39,7 +40,7 @@ def getSpotifyPlaylist(self, url):
more = len(items["items"]) == 100
count = count + 1

return {'tracks': tracks, 'name': name, 'description': results['description']}
return {'tracks': tracks, 'name': name, 'description': html.unescape(results['description'])}

def getUserPlaylists(self, user):
pl = self.api.user_playlists(user)['items']
Expand Down

0 comments on commit c05fceb

Please sign in to comment.