[Discuss] What's the best site-crawler utility?

Matthew Gillen me at mattgillen.net
Tue Jan 7 19:28:02 EST 2014


On 1/7/2014 6:49 PM, Bill Horne wrote:
> I need to copy the contents of a wiki into static pages, so please
> recommend a good web-crawler that can download an existing site into
> static content pages. It needs to run on Debian 6.0.

  wget -k -m -np http://mysite

is what I used to use.  -k converts links to point to the local copy of
the page, -m turns on options for recursive mirroring, and -np enforces
that only urls "below" the initial one will be downloaded.  (the
recursive option by itself is pretty dangerous, since most sites have a
banner or something that points to a top level page, which then pulls in
the whole rest of the site).

HTH,
Matt



More information about the Discuss mailing list