-3
<div class="chat_list">
    <div class="chat">
        blahblah1
    <div>
    <div class="chat">
        blahblah2
    <div>
    <div class="chat">
        blahblah3
    <div>
    ...
<div>

Server(I guess... language is php)/Client(Web Browser) communicate a message each other by js(javascript).

I try to use jsoup. It just parsed only once.

I want to intercept dynamic chat log!
How can I get dynamic dom?

is it possible using thread&jsoup?

1 Answers1

0

I would suggest you to look into Selenium WebDriver which runs an actual browser and will execute all the Javascript. Since it runs actual browser, you should be able to scrape those 'dynamic' chat.

Reference - http://www.seleniumhq.org/docs/03_webdriver.jsp

Jie Heng
  • 196
  • 4