[100925] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: getting batch information from web sites. Lynx, htget, wget?

daemon@ATHENA.MIT.EDU (Chuck Mead)
Mon Nov 23 20:18:18 1998

Date: Mon, 23 Nov 1998 20:19:01 -0500 (EST)
From: Chuck Mead <chuck@moongroup.com>
To: "redhat-list@redhat.com" <redhat-list@redhat.com>
In-Reply-To: <3659A83E.49EF55F2@interplas.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Mon, 23 Nov 1998, Eric Wood wrote:

> I'd like to send this URL:
> http://wwwapps.ups.com/transit/timetran.cgi?origin=30096&dest=70345
> 
> to a utility and have it return the resulting webpage to a file.  This
> way I can get information in batches.  I've tried
> 
> $ lynx
> http://wwwapps.ups.com/transit/timetran.cgi?origin=30096&dest=70345 >
> result_file.txt
> 
> but lynx doesn't exit.  I don't know of a lynx option switch to make it
> exit after receiving a web page.  Does htget or wget utilities do this?
> 

Eric... I use this script to mirror a website:

#!/bin/sh
#note... the next 3 lines are typed as all one line!
cd /home/httpd/html/unix; /usr/bin/lynx -dump
ftp://shell5.ba.best.com/pub/aturner/redhat-faq.tar.gz | /bin/gunzip
| /bin/tar xvf -

So Lynx will do what you want!

Cheers!
--                         
Chuck Mead, CEO - Moongroup Consulting, Inc. <chuck@moongroup.com>
http://www.moongroup.com/
http://www.moongroup.com/unix/

There's no such thing as a free lunch.
                -- Milton Friendman


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post