I can connect to most sites and just get HTML, but when I try to connect to a website where most of the content is created after the page is loaded using JavaScript, it does not get any of this data. Is there a way to do this with Jsoup or does it not support it?
JSoup includes some basic connection processing, but it is not a web browser. This is superior when parsing static html content. It does not run javascript, so you are out of luck. However, there are other options you can follow:
, , , , . . , , , , .
() . - selenium webdriver - phantomjs. , .
Source: https://habr.com/ru/post/1531650/More articles:ActiveRecord touch causing locks - ruby-on-railshtml background to the end of the last line - htmlJQuery Validation Plugin plugin and Tooltipster Plugin - javascriptCudafy can't find cubes, cudafft - visual-studioReading a file by bits C ++ - c ++Packer Dollhouse - virtualboxLooking for an elegant way to get around "Can't wait in the body of the final offer," - c #Maven releases plugins for passes, but do not cook - javaHow to achieve many fire events and memory events (event functions and promises combined) - javascriptСтранные изменения скорости в профилировании Haskell - optimizationAll Articles