saving websites using wget (complete)

1
Wget is a classic command-line tool for this kind of task. It comes with most Unix/Linux systems, and you can get it for Windows too (newer 1.13.4 available here). wget -r --no-parent http://site.com/songs/ or Use wget like so: wget --mirror -p --html-extension --convert-links www.example.com the options explained: -p get all images, etc. needed to display HTML page. --mirror self explanatory --html-extension save HTML docs with .html extensions --convert-links make links in downloaded HTML point to local files.

Upload: merx773

Post on 19-Jan-2016

25 views

Category:

Documents


0 download

DESCRIPTION

Using the Wget in linux to save websites

TRANSCRIPT

Page 1: Saving Websites Using Wget (Complete)

Wget is a classic command-line tool for this kind of task. It comes with most Unix/Linux systems, and you can get it for Windows too (newer 1.13.4 available here).

wget -r --no-parent http://site.com/songs/

or

Use wget like so:wget --mirror -p --html-extension --convert-links www.example.com

the options explained:-p get all images, etc. needed to display HTML page.--mirror self explanatory--html-extension save HTML docs with .html extensions--convert-links make links in downloaded HTML point to local files.