javayoutubeyoutube-apiyoutube-data-apigoogle-api-java-client

Search List returned multiple channels


I trying to send this request to get the channel

request = youtube.search().list("snippet");
request.setMaxResults(50);
request.setQ(channelName);
request.setType("channel");

we get multiple channels, not the same channel name please can you help me why we get all these channels and how we resolve them?


Solution

  • The video.search.list method q paramater does not search on channel name

    it only searches on title and description.

    enter image description here