How could i grab a website and execute js on this site to get the complete dom?

https://news.ycombinator.com/item?id=4045223
by addisaden • 14 years ago
3 3 14 years ago

Hi everybody,

is there a way to grab the website and execute the javascripts? Some Websites inject Content via Javascript and Ajax and it would be great to get these.

I am porgramming in Ruby. Maybe there is a way to do this with NodeJS?

Thank you for your help

Related Stories

Loading related stories...

Source preview

news.ycombinator.com