Using wget to snapshot a web site

Michael Hipp Michael
Wed Dec 1 12:01:09 PST 2004


I'm trying to use wget to grab an offline copy of this website so I can 
refer to it when doing development without Internet access.

    http://wiki.wxpython.org/index.cgi/FrontPage

But all the links in that page all look like this:

    <a href="/index.cgi/ObstacleCourse">ObstacleCourse</a>

I can't find any combination of options for wget which will cause it to 
follow these links. I presume it's because the link is written like an 
absolute link when it is actually more of a relative link.

Anyone know how to get wget to grab these or another tool which might do 
the job?

Thanks,
Michael


More information about the Linux-users mailing list