title: how can i do web scraping in this case?
body: <p>i am trying to scrap text from <a href="https://in-the-sky.org/data/object.php?id=A216&amp;day=17&amp;month=6&amp;year=2022" rel="nofollow noreferrer">https://in-the-sky.org/data/object.php?id=A216&amp;day=17&amp;month=6&amp;year=2022</a>
  <a href="https://i.stack.imgur.com/fft59.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fft59.png" alt="this is how the html of the part i want to scrap lookes like" /></a></p>
  <p><a href="https://i.stack.imgur.com/HNaZ4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HNaZ4.png" alt="this is the part i want to scrap" /></a></p>
  <p>so i wrote a code like</p>
  <pre><code>import java.util.Iterator;
  import org.jsoup.Jsoup;
  
  import org.jsoup.nodes.Document;
  
  import org.jsoup.nodes.Element;
  
  import org.jsoup.select.Elements;
  
  
  
  public class Main {
  public static void main(String args[]) {
  
      int num = 216;
      int day = 17;
      int month = 6;
      int year = 2022;
      String url =&quot;https://in-the-sky.org/data/object.php?id=A&quot;+Integer.toString(num)+&quot;&amp;day=&quot;+Integer.toString(day)+&quot;&amp;month=&quot;+Integer.toString(month)+&quot;&amp;year=&quot;+Integer.toString(year);
      System.out.println(url);
      Document doc = null;
      
      try {
      
          doc = Jsoup.connect(url).get();
      
      } catch (Exception e) {
      
          // TODO: handle exception
          e.printStackTrace();
      
      }
      
      System.out.println(&quot;=======================================================&quot;);
      
      Elements element = doc.select(&quot;div.col-md-6 col-md-pull-6&quot;);  
      String output = element.select(&quot;p&quot;).text();
      System.out.println(output);
      
      
      System.out.println(&quot;=======================================================&quot;);
      
  }
  }
  </code></pre>
  <p>but it doesnt work well. i would like someone to help me please</p>