Skip to content

Instantly share code, notes, and snippets.

View Koriban's full-sized avatar

Sean Wahl Koriban

View GitHub Profile
@Koriban
Koriban / wget.sh
Created October 18, 2020 15:51 — forked from crittermike/wget.sh
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
### Keybase proof
I hereby claim:
* I am koriban on github.
* I am nullmoment (https://keybase.io/nullmoment) on keybase.
* I have a public key ASDJ_oO29IM5oqlSl91EFamw8PwtHJuJvc5bNmebej2VhAo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am koriban on github.
  • I am nullmoment (https://keybase.io/nullmoment) on keybase.
  • I have a public key whose fingerprint is 5260 CE33 E740 ACE8 D35C 3288 FE6F 308B B9B8 8BC4

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am koriban on github.
  • I am nullmoment (https://keybase.io/nullmoment) on keybase.
  • I have a public key whose fingerprint is F2CD 73C1 8313 A7A3 711B 74DD E002 9501 01A7 503B

To claim this, I am signing this object: