QuickTime - Record internal audio and not external audio
There is a shareware/free software designed specifically for this task called BlackHole which I use on a weekly basis.  Here is the developer's website and here is his project on GitHub.