Re: parse html rendered by js

2011-02-12 Thread yanghq
ate javascript engine, like spidermonkey or rhino, and then parse > the results of that. > > On Friday, February 11, 2011 2:20:32 AM UTC-6, yanghq wrote: > > hi, > > I wanna get attribute value like href,src... in html. > > > > for simple html page libxml2

Re: parse html rendered by js

2011-02-11 Thread yanghq
ie is only work for windows, and webkit is hard to retrieve for me.I am searching other browser engine. On Fri, 2011-02-11 at 06:46 -0800, Alex Willmer wrote: > On Feb 11, 8:20 am, yanghq wrote: > > hi, > > I wanna get attribute value like href,src... in html. > > > >

parse html rendered by js

2011-02-11 Thread yanghq
hi, I wanna get attribute value like href,src... in html. for simple html page libxml2dom can help me parse it into dom, and get what I want; but for some pages rendered by js, like: document.write( ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ '' ) how can I get the atrribute v

Re: [ANN] Pyro 3.11 released

2011-02-11 Thread yanghq
hi, I wanna get attribute value like href,src... in html. for simple html page libxml2dom can help me parse it into dom, and get what I want; but for some pages rendered by js, like: document.write( ''+ ''+ ''+ ''+ ''