[Baypiggies] HTML to printable file

Chris Clark Chris.Clark at actian.com
Fri Mar 30 22:01:39 CEST 2012


On Friday 2012-03-30 12:57 (-0700), Chris Clark 
<Chris.Clark at actian.com> wrote:
>
>> Tony Cappellini<cappy2112 at gmail.com>  wrote:
>>
>>> While that will work for the current page, I should have mentioned I'm
>>> looking for a program that should be
>>> able to follow urls several levels (the level of urls will be 
>>> determined by
>>> the user).
>>
> ..... wget does this too, but it is less user friendly ;-) I would 
> strongly encourage you to NOT write tools for this as it can get 
> complex. There are some wget GUI wrappers knocking around (I can't 
> recommend any though).

I forgot to include an example:

Pull down (up to a depth of 5) recursively, rename links and stay on web 
site (do not follow external links)

      wget -L --recursive --convert-links .....


Also see --restrict-file-names, --no-directories, and  --level

Chris


More information about the Baypiggies mailing list