aboutsummaryrefslogtreecommitdiff
path: root/websitedl
blob: 6afa09ff99c2af64515058a79e91029d6a55bb96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"