Here are instructions for general installation and setup for OBS Studio, including configuring video and audio sources and doing screen recording and audio capture. How to download a YouTube (or any other streaming service, period) live stream (via screen capture)