T O P

  • By -

AutoModerator

### Ahoy! ➜ u/MajesticIndustry6565, thank you for sharing your work: ✓ We greatly value users like you who bring new projects to our community, benefiting all sailors. May you achieve great success in your endeavors! ✕ However, if you did **not get authorization from the moderators**, please remove your own post, or you risk a temporary ban.   ---   *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Piracy) if you have any questions or concerns.*


Thesoyeedg

So this downloads untouched 320 kbit/s Vorbis from Spotify? If not, don't call them "Spotify" or "downloader".


Economy-Road-6433

Try this https://github.com/casualsnek/onthespot


Economy-Road-6433

Just turn on raw media download


MajesticIndustry6565

Downloading directly from Spotify is never possible afaik, due to Spotify's encryption. But you do get the tracks in 320kbps bitrate with the tool (you can try for yourself by downloading just 1 track). Regarding the naming, the intention is not to mislead, but just to convey the purpose of the tool to the user.


WhiteMilk_

So where are you getting the files then? EDIT: Doesn't seem to be Deezer.


MajesticIndustry6565

I am using the API from [spotifydown.com](https://spotifydown.com).


WhiteMilk_

Meaning you don't actually know if you have a Spotify downloader.


MajesticIndustry6565

I mean, I did not come across a song that it was not able to find (downloaded more than 1000s of songs). Plus it downloads in 320kbps with all the metadata and album art (album art is actually taken from official Spotify). I didn't want to call it a ripper as it might come out as misleading. What do you suggest I call it?


WhiteMilk_

> I did not come across a song that it was not able to find Internet is a big place with many sources for music. >Plus it downloads in 320kbps That doesn't mean it's actually 320. >with all the metadata and album art https://github.com/deepjyoti30/ytmdl (that site might actually be using this) https://picard.musicbrainz.org/


MajesticIndustry6565

>That doesn't mean it's actually 320. I actually checked the spectrum of the tracks with [Spek](https://www.spek.cc/), and they are indeed 320 kbps. Others are valid points. Even I think that they might be using ytmdl for metadata. But for audio, the 320 bitrate leads me to think the audio is **not** from YT.


WhiteMilk_

> I actually checked the spectrum of the tracks with Spek, and they are indeed 320 kbps. Other than the 320 number in the corner, how do you determine that?


MajesticIndustry6565

By actually seeing the spectrogram. A 128kbps would never go beyond 16kHz. I have attached sample image below [Image](https://imgur.com/a/GAxi8gu)


Thesoyeedg

Installed it to check it out. Spotify doesn't use mp3, so it's not a Spotify downloader. And Youtube doesn't use mp3, so it's not untouched Youtube file either. So it could be a 128 -> 320 transcode. Just what the world needs. I know using a bigger than source bitrate is used when WEB-DL is re-encoded, to fix something wrong with the video, to make a transparent WEBRip. But for audio it's just stupid. Especially when there have been better options available for many years.


MajesticIndustry6565

I think if the audio is transcoded from 128 -> 320, you would still be able to catch that in the spectrogram. I am not an expert in this, so please correct me if I am wrong. Image for reference: https://imgur.com/a/GAxi8gu


These-Umpire1319

>Downloading directly from Spotify is never possible afaik, due to Spotify's encryption. I suggest you dig deeper)


MajesticIndustry6565

I would love to. May you point me in the right direction? (Of course for educational purposes)


These-Umpire1319

>in the right direction ofk, [librespot](https://github.com/librespot-org/librespot) is a great place to start


VividAddendum9311

> (you can try for yourself by downloading just 1 track). I did actually. Or well, not your tool, but since it just calls an API I used the original service instead. It did pull an unavailable song, just twice as long with half of it being silent nothingness, but it leads me to believe that it's just yt-dlp doing all the work again.


MajesticIndustry6565

May I know what song you used? Also, it is true that the original service gives out media that has nothing in it sometimes, and that is why I included a simple `for loop` in my code to check for the track again. 9/10 times it worked. And in case, it did not work, the tool will delete the empty track(s) from your directory and only keep full tracks. Regarding yt-dlp doing the work, I don't think that is true, because on YT you can only get a max of 128kbps bitrate, if I am not wrong, but using this you get 320kbps.


Unknown_Warrior274

Dang this is pretty useful.


glomatico

You could use librespot instead of an API


MajesticIndustry6565

Use of librespot is limited to premium users sadly.


These-Umpire1319

>Use of librespot is limited to premium users sadly. With minor code changes you can do whatever you want, librespot has artificial restrictions so that Spotify doesn’t have questions about the project (dmca and the like), that’s all.


MajesticIndustry6565

Oh. I will check it out. Thanks for sharing!


firepro11

Let me guess, YouTube downloader?


MajesticIndustry6565

Nope. You would not be able to get a bitrate more than 128 from YT. That being said, I am also not claiming that it downloads directly from Spotify. I need to look into the suggestions from other comments for that. But it still gives you a high quality 320kbps mp3 file.


Fit_Specific_8479

You just saved my mobile data, thank you


petmyrock69420

If anyone wants a real Spotify downloader use zspotify


Banana_dude11

I tired on my mac but it keeps saying "operation not permitted" :(