javascript - Monitoring DOM changes on the server side with node.js -
i'm wondering if possible load website twitter search results page using node.js jsdom , still able detect changes in dom after initial render.
example:
initial page
modified page
thanks help.
if want detect changed in dom tree need understand minified twitter's javascript code , intercept events or callbacks. don't suggest approach because js code works in browser may break when using jsdom. instance, when trying server side scrapping jquery got stuck bug in browsers not issue.
for time being, recommend consume search api directly twitter more straightforward approach.
hope helps!
Comments
Post a Comment