YouTubeQuery query = new YouTubeQuery(new URL(
"https://gdata.youtube.com/feeds/api/standardfeeds/most_discussed?time="
+ time + "&start-index=" + startIndex
+ "&max-results=" + itemPerPage
+ "&orderby=viewCount&v=2"));
VideoFeed videoFeed = service.query(query, VideoFeed.class);
result.setTotalResult(videoFeed.getTotalResults());
result.setCurrentPage(page);
List<VideoEntry> videos = videoFeed.getEntries();
for (VideoEntry videoEntry : videos) {
Tube tub = new Tube();
tub.transformHalfVideoEntry(videoEntry);
tub.setStatus(2);
tub.setUpdated(Calendar.getInstance().getTime());