System.out.println("Update from youtube : " + id);
String videoEntryUrl = "http://gdata.youtube.com/feeds/api/videos/"
+ id;
VideoEntry videoEntry = service.getEntry(new URL(videoEntryUrl),
VideoEntry.class);
tub.transformVideoEntry(videoEntry);
TubeModel.add(tub);
System.out.println("Save to database success !");
return tub;
} catch (MalformedURLException e) {
System.out.println("Error when searching with id : + " + id);