How to save all files from source code of a web site?

I want to download all files (html, images, js, css) from one website. I can download each and every file separately.

I tried in Google Chrome, after clicking on the view source, then ctrl + s then saved as sample.html then I got one sample.html and also one sample folder contains all files like css, js, images etc. But again I am trying to do the same, but it's not.

So earlier how it works? Why is it not working now?

Note: It's only for study purpose, not for copying any website of web contents.


In Chrome, go to options (Customize and Control, the 3 dots/bars at top right) ---> More Tools ---> save page as

save page as  
filename     : any_name.html 
save as type : webpage complete.

Then you will get any_name.html and any_name folder.

Try Winhttrack

...offline browser utility.

It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online. HTTrack can also update an existing mirrored site, and resume interrupted downloads. HTTrack is fully configurable, and has an integrated help system.

WinHTTrack is the Windows 2000/XP/Vista/Seven release of HTTrack, and WebHTTrack the Linux/Unix/BSD release...

Need Your Help

Is there easy way to grid search without cross validation in python?

python scikit-learn random-forest grid-search

There is absolutely helpful class GridSearchCV in scikit-learn to do grid search and cross validation, but I don't want to do cross validataion. I want to do grid search without cross validation an...

What is the Operator Precedence of Await?

javascript async-await operator-precedence

In Javascript certain operators are processed before others: