Skip to content

Instantly share code, notes, and snippets.

@geofmureithi-zz
Created November 1, 2017 11:36
Show Gist options
  • Save geofmureithi-zz/13b3e74c013fa9d6ef6c048667daebe2 to your computer and use it in GitHub Desktop.
Save geofmureithi-zz/13b3e74c013fa9d6ef6c048667daebe2 to your computer and use it in GitHub Desktop.
Website Scrapper
!/bin/bash
# Require the URI of a website to be downloaded
if [ -z "$1" ]; then
echo "Usage: scrapper.sh [URL]..."
exit 0
fi
dest=""
dest=$(date +%F--%T)
mkdir $dest
wget -k -r -N -p -E -F -nH -P $dest $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment