Wget

From Wasya Wiki
Revision as of 21:51, 3 April 2026 by Piousbox (Talk | contribs)

Jump to: navigation, search
 wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $domain

Limit download scope

-l 2 → only go 2 levels deep

 wget -r -np -k -p -E -l 2 $domain

other

-r → recursive download (follows links)
-np → no parent (won’t go above the starting directory)
-k → convert links for local viewing
-p → download all page assets (images, CSS, etc.)
-E → save files with proper extensions (like .html)
 wget -r -np -k -p -E https://example.com