MattJaccino / spotify-downloader

Spotify song downloader using API created by spotifydown.com
100 stars 22 forks source link

User Input Validation - Track number 0 #1

Closed MattJaccino closed 6 months ago

MattJaccino commented 6 months ago

If the user requests track number 0, the program fails as the index

The condition below needs to be updated to check that the input is greater than or equal to 1.

https://github.com/MattJaccino/spotify-downloader/blob/main/src/spotify_dl.py#L149