I use a programme called Replay Music. You have to pay a lifetime licensing fee of $ 29.95 and it will record any streaming music from the internet. See here for details: https://applian.com/order/order_paypal_cd2013?pkg=RARN&tag=RARN5&referral=&
You can also use this freeware programme, although I have never tried it. Free Sound Recorder Download