title: JSOUP java.io.IOException: Input is binary and unsupported
body: <p>I have a project that requires me to use JSOUP for web scraping. I was able to get the data from the main page of the website that I want to scrape. but, as I <strong>scrape</strong> deeper into the page by looping into the hyperlink and accessing it, I get the following errors:</p>
  <pre><code>java.io.IOException: Input is binary and unsupported
      at org.jsoup.UncheckedIOException.&lt;init&gt;(UncheckedIOException.java:11)
      at org.jsoup.parser.CharacterReader.&lt;init&gt;(CharacterReader.java:38)
      at org.jsoup.parser.CharacterReader.&lt;init&gt;(CharacterReader.java:43)
      at org.jsoup.parser.TreeBuilder.initialiseParse(TreeBuilder.java:38)
      at org.jsoup.parser.HtmlTreeBuilder.initialiseParse(HtmlTreeBuilder.java:65)
      at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:46)
      at org.jsoup.parser.Parser.parseInput(Parser.java:35)
      at org.jsoup.helper.DataUtil.parseInputStream(DataUtil.java:169)
      at org.jsoup.helper.HttpConnection$Response.parse(HttpConnection.java:835)
      at org.jsoup.helper.HttpConnection.get(HttpConnection.java:285)
  </code></pre>
  <p>when I inspect the website, there are parts of the website that contains a commented binary data and I think it caused the problem. I've tried using this code:</p>
  <pre><code>Document docs2 = Jsoup.connect(&quot;https://www.kiatravels.co.id/group_tour/index?TOUR_ID=1467&amp;ID=15803&quot;).ignoreContentType(true).get();
  </code></pre>
  <p>but still didn't work.</p>
  <p>Here's hoping some brainy code master can help!</p>