Search the blog

I use SiteSucker to get static copies of websites when I need to. It didn’t quite work for one particular site and I found out you can actually do it effectively with wget. There are limitations to this but the command below is a good start — and it will do most of the heavy lifting:

					
wget --mirror \
     --page-requisites \
     --adjust-extension \
     --convert-links \
     --no-parent \
     --execute robots=off \
     --random-wait \
     --limit-rate=500k \
     --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" \
     -P ./static_site_backup \
     https://example.com					
				
Tim Bennett is a freelance web designer from Leeds. He has a First Class Honours degree in Computing from Leeds Metropolitan University and currently runs his own one-man web design company, Texelate.