wget
can be used to save websites for offline viewing. Below is a script wget-web
which takes the URL as argument.
#!/bin/bash
wget \
--mirror \
--continue \
--relative \
--no-parent \
--convert-links \
--progress=dot \
--ignore-length \
--no-check-certificate \
--user-agent "Mozilla" \
--no-parent \
"$@"
Usage
wget-web "https://example.com"