[NTLUG:Discuss] nimba counter attack without PHP?
Dan Carlson
dmcarlsn at yahoo.com
Wed Sep 19 21:06:59 CDT 2001
You can give lynx the terminal it needs with the 'screen' command.
Something like:
screen -m -D lynx -term=vt100 {Other lynx options}
may do the trick.
If your version of lynx is new enough you can use the -cmd_script option to
provide it an input playback script to automate its actions.
I use this basic scheme to automate the daily retrieval of information from
a couple of https web sites that require login , and it works reliably.
The only time it fails is when the maintainers of one of the web sites
occasionally and temporarily insert an extra page between the initial page
and the page I need to get to. The -cmd_script can't deal with that by
itself, but there are probably ways I can deal with it when I get the time
to look at it further.
Dan Carlson
----- Original Message -----
From: "Jack Snodgrass" <idiotboy at cybermail.net>
To: <discuss at ntlug.org>
Sent: Wednesday, September 19, 2001 8:24 PM
Subject: Re: [NTLUG:Discuss] nimba counter attack without PHP?
> You have to use wget. The syntax is something like
> wget -o /dev/null -O - http://url.....
>
> lynx wants a termilal that apache doesn't provide. I think that
> if you have cgi debuging on, the logs will show you some 'no terminal'
> type messages. I tried several diferent things with lynx and ended
> up giving up on it.
>
.
.
.
More information about the Discuss
mailing list