Revered monks, I desperately need your advice on how I should scrape from pages with lots of javascript created HTML.
So far I have learnt the ways of Mechanize::Firefox and its interaction with MozRepl. The trouble is that I need it to run in a headless environment.
I could run Firefox under xvfb, but I don't know how to install the MozRepl extention in a headless environment. It also seem very heavy weight to run the entire Firefox application.
Do you have any advice on a simpler method that would allow me to get the rendered HTML of a page? Or should I just suck it up and use MozRepl and figure out how to get it working in a headless environment.
Thank you for your wisdom