Java-Scrape a dynamic website with JSoup

后端 未结 3 1307
-上瘾入骨i
-上瘾入骨i 2020-12-18 11:19

I would like to scrape a website with JSoup. This website is dynamic and updates every second or so. I\'m pretty sure it uses JQuery, which updates some tags in the HTML. I

3条回答
  •  感情败类
    2020-12-18 11:30

    1. Selenium WebDriver to open the page in a real browser
    2. address the element and get its content using Selenium WebDriver API - you can even call JS code in the page's context
    3. parse with JSoup etc.

提交回复
热议问题