How To Record Radio Streams Programmatically Using Python

So for a personal project, I'm scraping data from various forms of media and I want to also want to include local radio broadcasts. I've seen recommendations to use Audacity to record my system sounds while running the broadcast. But I just wanted to know if there's any other way to possibly get this done.

So my real intention is to transcribe these radio broadcasts using a Speech-To-Text machine learning AI model I'm working on.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum