im using the java google gdata client api for retrieving youtube videos which works fine so far. But today i faced a problem. Im trying to receive videos from a channel but getting no results. The (example) url of a channel im trying to find videos: http://www.youtube.com/channel/HCrrUf3dKG1Gw
I tried to use the YouTubeQuery setAuthor method with "HCrrUf3dKG1Gw" (no matter if setPartner was false or true) and setFullTextQuery "PERSONA 4"-> no results
Getting videos from url containing the "user" works fine with setting the author in the query.
Thats the code im using (slightly modified):
YouTubeService service = new YouTubeService(<clientId>)
service.setConnectTimeout(2000)
YouTubeQuery query = new YouTubeQuery(new URL(<url>)
query.setOrderBy(YouTubeQuery.OrderBy.RELEVANCE)
query.setTime(Time.ALL_TIME)
query.setFullTextQuery(<query>)
query.setSafeSearch(YouTubeQuery.SafeSearch.NONE)
query.setMaxResults(50)
if (isPartner) {
query.setUploader(Uploader.PARTNER)
}
if (author) {
query.setAuthor(<author>)
}
VideoFeed videoFeed = service.query(query, VideoFeed.class)
List<VideoEntry> videos = videoFeed.getEntries()
Does anybody have a clue what im missing here? Are channels different handled than user?