zotify-dev / zotify

A fast and customizable music and podcast downloader.
zlib License
1.2k stars 91 forks source link

Zotify returns "no matches found" from URL if URL contains the "?si=" parameter #180

Open mrcabelman opened 3 months ago

mrcabelman commented 3 months ago

Every time a Spotify link of a song, album or playlist is copied, each link includes the "?si=" parameter within the URL. Here's an example of the URL/song I am using: https://open.spotify.com/track/2C6eINAA8cO6e5a8PjnWsK?si=ea5bfb97a7b8498b

Screenshot 2024-08-16 at 2 33 51 AM

When running the zotify command with the above URL, zotify will fail to parse the URL if the "?si=" parameter is included within the link as shown in the screenshot below. This happens with all song, album and playlist URLs. Can Zotify ignore the rest of the URL beginning from "?si=" once it is read?

Screenshot 2024-08-16 at 2 31 54 AM

liamgentile commented 1 week ago

Try wrapping the URL in quotation marks, so:

zotify "https://open.spotify.com/track/2C6eINAA8cO6e5a8PjnWsK?si=ea5bfb97a7b8498b"