Skip to content

Instantly share code, notes, and snippets.

@redbull05689
Forked from husnilk/webdownloader.sh
Created January 16, 2019 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redbull05689/e16bc5ee9e9771079ae06315268d5382 to your computer and use it in GitHub Desktop.
Save redbull05689/e16bc5ee9e9771079ae06315268d5382 to your computer and use it in GitHub Desktop.
Command for downloading website via wget The options are: --recursive: download the entire Web site. --domains website.org: don't follow links outside website.org. --no-parent: don't follow links outside the directory tutorials/html/. --page-requisites: get all the elements that compose the page (images, CSS and so on). --html-extension: save fi…
$wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains [domain.org] \
--no-parent \
[http://domain.org/target/url/]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment