用 wget 備份整個網站
wget -e robots=off -mkEpnp https://example.com
-e robots=off= 關閉 robots 協定,會忽略 robots.txt、HTML 裡的 nofollow 標籤、meta robots 標籤-m=--mirror鏡像備份網站(無限深度)-k=--convert-links把連結改成本地相對路徑-E=--adjust-extension自動加上副檔名-p=--page-requisites沒有這個參數的話,只會下載 HTML 檔案-np= 不要往上層目錄爬