I am using the YouTube developer API v3 and am trying to get a YouTube channel id from a channel link such as www.youtube.com/c/{name}.I have already seen suggested solutions likehttps://www.googleapis.com/youtube/v3/channels?key{YOUR_API_KEY}&forUsername={username}&part=id, but since there could be multiple channels with the same username, the id returned might correspond to a channel id than the one I want to get.I also know you can look in the page source, but I am trying to implement this API request into Python and looking through the page source would be quite difficult. Is there anything I can do?
↧
How can I get a YouTube channel id from a YouTube channel link?
↧