title: JSoup doesn't load the whole HTML
body: <p>I want to scrape a website but when I connect to it using <code>Jsoup.connect(url)</code> only a part of the page is loaded. </p>
  
  <p>When I downloaded the page as html I saw that in one part of the page there is only a loader icon so I concluded that that part of the page is loaded afterwards from some other source. </p>
  
  <p>The funny thing is that inspect element contains the missing html and view page source doesn't. HTML loaded from jSoup is basically the same as when opened from "view page source".</p>
  
  <p>Is there a way to bypass this and to load the whole page as it is displayed in browser?</p>
  
  <p>The page in question is this: <a href="https://www.oddsportal.com/tennis/australia/atp-australian-open-2017/results/page/1/" rel="nofollow noreferrer">https://www.oddsportal.com/tennis/australia/atp-australian-open-2017/results/page/1/</a></p>
  
  <p>Ask for any additional information I could provide.</p>
  
  <p>===============</p>
  
  <p>EDIT:
  I am connecting to url like this:</p>
  
  <pre><code>Document doc = null;
  
  try {
      doc =  Jsoup.connect(url).get();
  } catch (IOException e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>I am getting this div using css selector:</p>
  
  <pre><code>Elements tournamentTable = doc.select("div[id=tournamentTable]");
  </code></pre>
  
  <p>Content of <code>tournamentTable</code> is <code>&lt;div id="tournamentTable"&gt;&lt;/div&gt;</code></p>