Skip to content

Error running python script #64

Description

@DaniAngel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions