The Fastest Way to Download a Website Offline

One Word & One Command:

HTTrack, that’s the word

To install it on Ubuntu:

sudo apt install httrack

Then, to run it:

httrack http://www.xyz.com --max-rate=1000000000 --sockets=50 --disable-security-limits --display

–max-rate is the download rate where 1000 = 1 KB/sec, so I am using a 1 GB/sec limit!

–sockets is the number of simultaneous connections

–disable-security-limits to bypass the security limits of httrack which limits the download rate to 25 KB/s and 4 active connections, use with caution, might cause you trouble for bandwidth abuse, use it at your own risk!

UPDATE: This still takes a long time depending on the available bandwidth and website size, so you’d better keep it running inside a “screen”, as follows:

screen -S $website_name -d -m httrack $website_name --max-rate=1000000000 --sockets=50 --disable-security-limits --display

where $website_name is – obviously – your website’s address 😉

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Linux, Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s