I came across this website a while ago: https://lucida.to/

It lets you rip high quality music files from streaming services. Didn’t find much use of it in the past but lately I have been wanting obscure music I can’t find on soulseek or private trackers and it has been immensely helpful.

As far as I understand the whole process takes place in your browser. I am guessing this because I face a lot of georestrictions because of where I am from and this website fails for services not available here. In my case though Amazon Music works so I was able to get a FLAC of Rise Above the Storm from Beyblade which makes me unreasonably happy.

The underlying library for ripping is open source according to the website.