diff --git a/websitedl b/websitedl new file mode 100755 index 0000000..6afa09f --- /dev/null +++ b/websitedl @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ "$#" -ne 2 ]; then + echo "Usage: $0 DOMAIN SITE" + exit 1 +fi + +wget \ + --recursive \ + --level 0 \ + --page-requisites \ + --convert-links \ + --domains "$1" \ + --no-parent \ + "$2"