diff options
author | Jackson Taylor <jackson@jacksontaylor.xyz> | 2021-11-10 14:02:35 -0500 |
---|---|---|
committer | Jackson Taylor <jackson@jacksontaylor.xyz> | 2022-04-05 16:51:59 -0400 |
commit | 5f36cecd2d8b058939a3a5d8025d0679d494c1bf (patch) | |
tree | d3a1b2f1d013edf0dd56283799b929b664b68eea /jamos | |
parent | d239f21654d35484e311dfc38f47ed398054e619 (diff) |
Handle download errors temporarily
Diffstat (limited to 'jamos')
-rwxr-xr-x | jamos | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -140,8 +140,12 @@ if __name__ == "__main__": # Get the playlist url from the command line playlist_url = get_playlist_url() - # Download the songs - download_song(playlist_url) + try: + # TODO: make this continue downloading if a song fails + download_song(playlist_url) + except Exception as ex: + # TODO: Handle this a different way + print(ex) files = get_all_files(MUSIC_DIRECTORY) |