Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find Youtube Channel by Custom URL

Recently I am trying to collect Youtube channel infos by urls. With Youtube API V3 youtube.channels.list, I can get channels by below two types of urls with no problem. https://www.youtube.com/user/LadyGagaVEVO/ (query by forUserName) https://www.youtube.com/channel/UC07Kxew-cMIaykMOkzqHtBQ (query by id)

However for the custom url such as https://www.youtube.com/phunky I found no official way to get the channel. I know it is possible to get the channel by parsing OpenGraph meta-data. Still want to know if there is more ideal way with the V3 API.

Thanks

like image 405
Willy Avatar asked Sep 14 '25 08:09

Willy


1 Answers

The only solution I've seen is from this answer which is to use the search api. It's not perfect but it is the only solution I've seen.

like image 189
infomofo Avatar answered Sep 17 '25 18:09

infomofo