[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] wget not the right tool to scrape jsf/ajax site?
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] wget not the right tool to scrape jsf/ajax site? |
Date: |
Fri, 18 Jan 2013 12:38:51 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Am Friday 18 January 2013 schrieb Ryan, Lyle:
> Hello, bug-wget. I hope this is the right list for user questions.
>
> For years, we've been happy calling wget to log in to our website and
> report back the findings to Nagios (ie verify the website functionality).
> But our new incarnation of the site is built with jsf/ajax, and evidently
> expects the requestor to interpret javascript. Googling shows that
> others have the same problem, as wget is not a javascript-enabled browser.
>
> Any suggestions for a better tool or how to do it with wget? This is on a
> "headless" Solaris box, so the tool needs to be called from a shell
> script.
Hi,
first of all, wget does not parse and interpret javascript.
There is 'elinks', that seems to support javascript (limited).
http://elinks.or.cz/documentation/manual.html
But then, if you give us detailed information of what you exactly do, there
might be a solution using wget. After all, javascript might do some fancy
stuff, but at one point it comes down to a HTTP(S) request...
>
> Thanks....Lyle
Regards, Tim