Recording multiple music sites / youtube at same time

I’d like to record multiple music sites at once like I’m mixing along with sampling from youtube. Or to put it another way - all internet audio activity. Any help would be greatly appreciated.

Audacity will record one thing and if that one thing is a single network connection, then you’re golden. But you have to mix before Audacity gets the work.

This is the manual on recording internal music or shows in Audacity.

Note Audacity needs to run the computer’s Play and Record at the same time to make this work—sometimes called Stereo Mix. Audacity doesn’t much like sharing sound connections, so you can’t mess with this arrangement. This usually kills the Skype people.

But if you have the ability to mix before the computer gets it, that’s the way to go. Like mount all your music sources in an internet APP. Then record the APP.