Closed ibrunotome closed 3 years ago
That's not a bug.
->getChannelByName('santicristo')
returns this channel: https://www.youtube.com/user/santicristo
The returned ID displays the correct channel if you use the alternative URL format: https://www.youtube.com/channel/UCYN9J-V6B-YWuWxvftP-y6w
The channel ID you specified is a completely different YouTube channel: https://www.youtube.com/channel/UCnHTWQ-oA6fyhLluEris6qw But I guess you were referring to the "custom URL" format, which matches: https://www.youtube.com/c/santicristo
From what I understand it's currently not possible to translate "Custom URL" to "Channel ID".
For example:
->getChannelByName('santicristo')
should return data ofUCnHTWQ-oA6fyhLluEris6qw
channel, but the return is of theUCYN9J-V6B-YWuWxvftP-y6w
channel.