Logo
Overview
Mirror a website locally and covert links

Mirror a website locally and covert links

August 13, 2025
1 min read

Overview

I’ve found websites I’ve liked and thought, how does this work? Sure I can ‘View Source…’ and dig in, but I’d rather use wget to download the site and have a fully working copy locally.

Howto

Running wget with the correct switches will mirror the target website locally, here’s an example where I wanted to look at the gallery/portfolio software for an online art gallery.

Terminal window
wget -m -p -E --tries=10 --convert-links --retry-connrefused https://www.divorce.gallery