Refactored to use spotify_tools.SpotifyAuthorize class

This commit is contained in:
Manveer Basra
2018-11-12 10:49:21 -05:00
committed by Ritiek Malhotra
parent c886ccf603
commit 4fc23a84dc
4 changed files with 217 additions and 227 deletions

View File

@@ -48,6 +48,7 @@ def go_pafy(raw_song, meta_tags=None):
def match_video_and_metadata(track):
""" Get and match track data from YouTube and Spotify. """
meta_tags = None
spotipy = spotify_tools.SpotifyAuthorize()
def fallback_metadata(meta_tags):