service.setConnectTimeout(2000);
try {
YouTubeQuery query = new YouTubeQuery(
new URL(
"https://gdata.youtube.com/feeds/api/channelstandardfeeds/most_viewed?time=all_time&max-results=10&orderby=viewCount&v=2"));
ChannelFeed channels = service.query(query, ChannelFeed.class);
result = new ArrayList<Channel>();
for (ChannelEntry channel : channels.getEntries()) {
Channel tubChannel = new Channel();
String[] splittedId = channel.getId().split(":");
tubChannel
.setTitle(new Text(channel.getTitle().getPlainText()));
tubChannel.setAlias(splittedId[splittedId.length - 1]);