&gt; interesting challenge<p>Understatement of the year.<p>You&#x27;d need to either re-implement an entire browser stack or run a headless version of gecko of webkit server-side.<p>The former entails millions of man-hours of work. The latter opens up your server to all sorts of exploits. Overall a really bad idea.<p>Besides, single page applications are the worst junk in the entire Web 2.0 cesspool. If you really need to scrape them, they usually come with their own JSON API which you can just piggyback.