There's probably a simpler way to do this, but if you run the channel URL through yt-dlp (commandline video downloader) it'll make a .json file for the channel.
In the file it'll have sections titled "channel_url" and "uploader_url". The channel url will be the one formatted like youtube.com/channel/UC-----