Wget

Матеріал з Wiki.Zina
Версія від 15:17, 11 липня 2021, створена Romych (обговорення | внесок) (→См. также)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)
Перейти до навігації Перейти до пошуку


wget -r -p -H -k --restrict-file-names=windows -np -D yoursite.com yoursite.com
-r --recursive Download the whole site
-p --page-requisites Get all assets/elements (CSS/JS/images) needed to display HTML page
-H --span-hosts go to foreign hosts when recursive. Include necessary assets from offsite as well.
-k --convert-links make links in downloaded HTML or CSS point to local files
--restrict-file-names=windows Modify filenames to work in Windows as well.
-np --no-parent don't ascend to the parent directory
-D yoursite.com --domains yoursite.com Do not follow links outside this domain.

Примеры

[ред. | ред. код]
wget -r -l --html-extension --convert-links --page-requisites --adjust-extension --load-cookies /Users/user/Library/Application Support/Google/Chrome/Default/Cookies inf **<http/https link>**

См. также

[ред. | ред. код]