Not necessarily piracy, but I realise that it might be the only option.
I'm planning to get away from Spotify. Is there some good places to get music. I don't mind paying for it. But I don't want a subscription service. I just want to be able to give someone money in exchange for a product. And ideally a MP3 or something similar so I can use it offline and move the file between devices.
you can purchase individual albums through the download store.
or you can buy a month of the unlimited download subscription and download everything you want
can be downloaded in either MP3 or lossless FLAC (though, don't download above CD quality because you won't hear the difference)
there also may or may not be a set of resources out there under the name Firehawk52
I mainly get my purchased music from Qobuz and Bandcamp. If it's older, don't dismiss compact discs, used or new. A lot of times you can get the CD cheaper than the digital download, then just rip it to any format you want.
I've been using them for years. They work off of a "add money to an account" model so you have to be willing to put money in before you buy your music. They look sketchy but never had a problem but always use Privacy.com CC just in case.
The down side is the UI Sucks.
I check bandcamp first, as you get multiple file formats when you purchase something. Assuming I can't find things on bandcamp, they are on Beatport 99.9% of the time.
Personally I avoid iTunes as I don't want AAC files.
I just download my favorite music directly from YouTube with youtube-dl or something similar. It's not pay-walled and it usually doesn't even have ads on it.