0
Document upgradedItem = Jsoup.connect("https://dota2.fandom.com/wiki/Items").get();
Elements element = upgradedItem.select("#mw-content-text > div > div:nth-child(4)");

If you go to the site and paste in the css selector, It will return 1 result, however JSoup returns null.

Janez Kuhar
  • 3,705
  • 4
  • 22
  • 45
forsen
  • 3
  • 4
  • It looks like the page downloaded by Jsoup is not the same as the page you view in the browser. – Janez Kuhar Aug 23 '21 at 07:50
  • Does this answer your question? [Page content is loaded with JavaScript and Jsoup doesn't see it](https://stackoverflow.com/questions/7488872/page-content-is-loaded-with-javascript-and-jsoup-doesnt-see-it) – Janez Kuhar Aug 23 '21 at 07:51

0 Answers0