Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How can I get a YouTube channel id from a YouTube channel link?

$
0
0

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?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>