title: java get element from webpage into variable
body: <p>I'm trying to get an element from a page into a variable</p>
  <pre><code>    String url = &quot;http://www.aaaaaaa.com&quot;; 
      Document document = Jsoup.connect(url).get();
      String value = document.body().select(&quot;&quot;).get(0).text();
  </code></pre>
  <p>how to get this into the value</p>
  <pre><code>&lt;div class=&quot;clock-text&quot;&gt;12:10:13 pm&lt;/div&gt;
  </code></pre>