You didn't specify a streaming platform. Assuming you're referring to twitch vods I would actually recommend using twitchpipe instead of something like yt-dlp as another user recommended. Reason being is that twitchpipe comes with a shell script that lets twitchpipe monitor a twitch channel for when it goes live, automatically starts recording the vod, and stops when the stream ends - which I find more ideal for putting it on a vps and letting it do its thing.