spotify2mp3 icon indicating copy to clipboard operation
spotify2mp3 copied to clipboard

Error running python script

Open DaniAngel opened this issue 1 year ago • 0 comments

I am using Linux Mint 20.03 cinnamon. I installed the requirements and when I run the spotify2mp2.py script I received the the following error message: File "spotify2mp3.py", line 38 raise argparse.ArgumentTypeError(f"Bitrate outside of typical YouTube range (64 kbps to 320 kbps): {quality}") ^ SyntaxError: invalid syntax

Update: I changed the command from "python spotify2mp3.py" to "python3 spotify2mp3.py" and that seems to work. Now when I enter a spotify link, it tells me that the link is not valid.

Please provide a Spotify URL (right click, share, copy link) or 'liked':

https://open.spotify.com/episode/6VzFDErBqgeSShBJIQkWq6?si=vp2KgOGQToaCnEmGx_r4uA

Error:Invalid Spotify URL: https://open.spotify.com/episode/6VzFDErBqgeSShBJIQkWq6?si=vp2KgOGQToaCnEmGx_r4uA

DaniAngel avatar Mar 22 '24 19:03 DaniAngel