diff --git a/spotdl.py b/spotdl.py index fe8f5f6..47c0ac0 100644 --- a/spotdl.py +++ b/spotdl.py @@ -261,7 +261,7 @@ def grab_list(file): global spotify spotify = spotipy.Spotify(auth=token) grab_single(raw_song, number=number) - except (urllib2.URLError, IOError): + except (urllib2.URLError, TypeError, IOError): lines.append(raw_song) misc.trim_song(file) with open(file, 'a') as myfile: