title: How to parse an audio file and download it by jsoup?
body: <p>I try to parse the mp3 file in a website by jsoup.
  I write a code in this way:</p>
  
  <pre><code>String url = "http://www.xeno-canto.org/explore?query=Haemorhous+mexicanus+&amp;dir=0&amp;order=loc";
      try {
          Document doc = Jsoup.connect(url).get();
  
          System.out.println(doc.title());
          Elements h1s = doc.getElementsByTag("div&gt;audio[src]");    
  
          Element thisOne = null;
          for(Iterator it = h1s.iterator(); it.hasNext();)
          {
              thisOne = (Element)it.next();
              System.out.println(thisOne.html());
          }
  </code></pre>
  
  <p>While there are many layer of <code>&lt;div&gt;</code> in html, I don't know if I can ask for things under <code>&lt;audio&gt;</code> tag in this way. The html looks like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="jp-player jp-player-219351" id="p_xc_audio_219351_883" style="width: 0px; height: 0px;"&gt;&lt;img id="jp_poster_17" style="width: 0px; height: 0px; display: none;"&gt;&lt;audio id="jp_audio_17" preload="none" src="http://www.xeno-canto.org/sounds/uploaded/RFTXRYBVBX/XC219351-House%20Finch%20calls%20and%20then%20calls%20in%20flight%20-CA%2C%20TRV%2C%20March%2003%2C%20%E2%80%8E2012%2C%201045%20AM.mp3"&gt;&lt;/audio&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My goal is to parse and download the mp3 file under all the audio[src] tags, but it didn't succeed after trying many times. Hope someone could give me any hint for it.</p>