How to download entire Websites!

Monday, March 16, 2015
This tutorial is for those who want to download entire website for maybe offline reading or for analysing the CSS and styling scripts or just to show off! This is a windows environment tutorial but the same can be applied for any Linux or Mac OS.

For this I will be using a command line tool known as wget. Windows user can get the software from this link wget. I prefer for installation you use a drive other than the default which is in the installer.
The reason I am saying this is because when you wget from default directory you get the location of your download content be rather absurd.But let's just jump to the tutorial!

Step 1: Well for the absolute beginner it would be to open the command prompt. So let's begin with that. For this you need to open the command prompt and redirect to the folder where wget is present.
Example:If it's in the F: drive which is actually where it is for this example . You need to go to a subdirectory inside it namely F:\wget\bin 



Step 2:Once you are there just write this simple command 

wget ‐‐execute robots=off ‐‐recursive ‐‐no-parent ‐‐continue ‐‐no-clobber "The website"
Example: wget ‐‐execute robots=off ‐‐recursive ‐‐no-parent ‐‐continue ‐‐no-clobber http://example.com


Now you should see the response something like this,

It should now have saved the whole website in a directory inside F:/wget/bin

And you're done!


For a more visual representation,Watch the video..


No comments:

Post a Comment