Useful Articles‎ > ‎

Download a whole website and view it offline using wget!

hit counter for tumblr

If you want to view the contents of this website (or any website) offline, you can download the whole site (including images if desired) to a folder on your hard disk, as follows:

Quick Method

Download the WebLeach.zip file at the bottom of this page, extract the files and run WebLeach.cmd script file. You will be prompted for the URL (e.g. www.xxxxx.com) that you want to download and the drive letter that you want to mount the website folder to (e.g. Z). You can then browse the whole website offline. The downloaded files will be copied to C:\temp\www.xxxxx.com for you to browse at any time.

Manual Method


Here is the manual.

2. Install the software onto your Windows computer.

3. Open a command prompt and use the CD command to get to the installation folder by typing:

cd  "C:\Program Files (x86)\GnuWin32\bin"

OR if you have a 32-bit system, type:

cd "C:\Program Files\GnuWin32\bin" 

4. Type the command:

wget -mk -P C:\temp www.rmprepusb.com

                                 (assuming this is the site you want to leech!)

 or add -R to prevent files with certain extensions from being downloaded, e.g.

wget -mk  -R=jpg,png -P C:\temp www.rmprepusb.com

A new folder will be created of the name of the site (www.rmprepusb.com) under the C:\temp folder.

5. Now run a subst command to substitute a new drive letter for the new folder: e.g.

subst k: "C:\temp\www.rmprepusb.com"

6. Then you can start to browse the website by typing

start k:\index.htm

and because the index file is now at the root of the new drive, the links to all the other pages should work correctly and you can browse the whole site offline.


Tags: leech, webleech, webleach, steal, copy web
Č
ċ
ď
WebLeach.zip
(1489k)
Steve Si,
15 Sep 2012 05:33