I am trying to get the number of articles that Google shows us:
This is a Google search of jeb bush barack obama
, and it shows the number that I need, which is the 10,200,000
articles
How can I use Jsoup and any of its components to grab that number?
I tried:
Document document = Jsoup.connect(url).get();
Elements description = document.select("div#resultStats");
desc = description.attr("content");
Note: I am using Android Studio and I want to save the result into a matrix.
Edit: Here is what I see for the number of articles on the HTML source code.