To capture streaming music for free with lossless quality. Yout can use the tool named
Streaming Audio Recorder. It can help you record Youtube, Spotify, Rhapsody, Apple Music, Audible audiobooks, etc and edit to multiple compatible formats like MP3, AAC, FLAC, etc. to play offline on any music player easily.
Read more:
Convert Youtube Video to FLAC