title: Getting desired information from website using jsoup
body: <p>I recently read a nice <a href="https://stackoverflow.com/questions/2835505/how-to-scan-a-website-or-page-for-info-and-bring-it-into-my-program">example</a> of using jsoup, posted by <a href="https://stackoverflow.com/users/157882/balusc">BalusC</a>.  </p>
  
  <p>His code:    </p>
  
  <pre><code>import org.jsoup.Jsoup;
  import org.jsoup.nodes.Document;
  import org.jsoup.nodes.Element;
  import org.jsoup.select.Elements;
  
  public class test{
  
      public static void main(String[] args) throws Exception {
          String url = "https://stackoverflow.com/questions/2835505";
          Document document = Jsoup.connect(url).get();
  
          String question = document.select("#question .post-text").text();
          System.out.println("Question: " + question);
  
          Elements answerers = document.select("#answers .user-details a");
          for (Element answerer : answerers) {
              System.out.println("Answerer: " + answerer.text());
          }
      }
  }
  </code></pre>
  
  <p>The code works like a charm, and appears to be very straightforward, however I dont know how to modify it, so that it would get the cheapest tyre prices from <a href="http://www.mimovrste.com/letne-avtomobilske-pnevmatike?p-min=31.65&amp;p-max=348.35&amp;o=_price" rel="nofollow noreferrer">here</a>. How would i do that?</p>