This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get HTML page having embedded javascript


On Thu, Feb 5, 2009 at 14:55, TAJTHY TamÃs wrote:
> Dear All,
>
> I have a problem. I'd like to get HTML pages, but not their plain
> sources. If it has an embedded javascript and it generates HTML code I
> need the resutling HTML code. Now I just run a perl script which
> launches a firefox and I copy the resulting page to the clipboard. But
> this is not too nice solution as I can not detect when firefox
> finished downloading and processing the page.
>
> Is there a library which can do this? Can anyone give some help, how
> can solve this?
>

wget should do the trick, if I understood correctly what you are trying to do.

If you want to get fancy :), do your browsing in the console window with w3m.
It can also get your sources non-interactively (see -dump_source option).

Have fun!
___________
Julio Costa

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]