Skip to content

Instantly share code, notes, and snippets.

@myfonj
Created March 22, 2019 10:20
Show Gist options
  • Select an option

  • Save myfonj/77543b932102cfa4d2269d0b972ed679 to your computer and use it in GitHub Desktop.

Select an option

Save myfonj/77543b932102cfa4d2269d0b972ed679 to your computer and use it in GitHub Desktop.
wget website mirror
rem based on https://www.reddit.com/r/DataHoarder/comments/8uirgp/httrack_vs_scrapy_vs_hamster_vs_wget/e1g0dlz/
pushd C:\web-root\offline-mirror
wget ^
--adjust-extension ^
--span-hosts ^
--convert-links ^
--backup-converted ^
--page-requisites ^
--trust-server-names ^
--no-check-certificate ^
--recursive ^
--level=1 ^
%*
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment