warrenbuckley / YouTube-Umbraco

YouTube for Umbraco
12 stars 17 forks source link

Fixing issue where it's not possible to find a YouTube Channel #11

Closed Jeavon closed 10 years ago

Jeavon commented 10 years ago

For some channels it's not possible to find them by channel search as the username is hidden, example "CreativeStation" https://www.youtube.com/channel/UCopU6KXnK517ycc4tZyzm-g

I have added a fallback to using the search method if no results are returned by the channel search, then get the channel ID from the first video and then do the ChannelSearch by ID.

warrenbuckley commented 10 years ago

Hey @Jeavon thanks for the Pull Request, after chatting on Skype to understand its use better & the fix, then this is the best solution available to us to do a search where the type only returns channel's only & assume if we get a result to take the first item.

Good stuff & merging in....