I am stuck at a place where I need to parse this website and display the Top PlayStation 3 Games by Metascore with their ratings. I am not able to come up with good parsing using JSoup as I just started developing using Jsoup.
I got the ratings and title like this. Any better ways ?
Document doc = Jsoup.connect(URL).userAgent("Mozilla").get();
// To get score
Elements links = doc.select("span.metascore_w.medium.game");
// To get title
Elements links = doc.select("h3.product_title");
for (Element link : links) {
System.out.println("text : " + link.text());
}