diff --git a/spotdl.py b/spotdl.py index 3b3477a..5ba9f33 100644 --- a/spotdl.py +++ b/spotdl.py @@ -363,7 +363,7 @@ def grab_list(file): print('') except KeyboardInterrupt: grace_quit() - except ConnectionError: + except (URLError, IOError): lines.append(raw_song) trim_song(file) with open(file, 'a') as myfile: