title: Extracting reviews from Amazon using Java jsoup library
body: <pre><code>Document doc = Jsoup.connect("https://www.amazon.com/gp/product/B01MXLQ5TM/").get();
  String title = doc.title();
  System.out.println("TITLE "+title);
  
  
  Element reviews = doc.getElementById("reviewsMedley");
  System.out.println(" " + reviews.text());
  </code></pre>
  
  <p>Hey, I am working on data extraction using jsoup and extracting reviews from Amazon. This is my code, it gives me reviews from first page. How can I transform it to get reviews from all pages.</p>