Downloading Web Sites with wget
The wget utility allows you to download Web pagesand whole Web sitesto use offline. You just specify a URL and how many levels (links away from the starting page) you want to download, and let wget do its thing (as in Code Listing 12.4). Then you can use the Web pages when you're not connected to the Internet, like while on an airplane, in a hotel, or in a waiting room, for example.
Code Listing 12.4. You can use wget to download as much of the Web as you can handle.
To Download Web Sites with wget: