M
M
modcode2019-09-26 22:19:50
linux
modcode, 2019-09-26 22:19:50

How to download the wget website correctly?

I'm trying to rip the site to Bitrix wget -r -k -l 77 -p -E -nc site.com - it rips, but the styles of the scripts and pictures are downloaded, but they go with links to the donor site - maybe I'm giving the wrong command or is it supposed to be like that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2019-09-26
@dimonchik2013

see subdomains
send out link depths and allowed domains
and downloaded content must also be specified

A
Alexander, 2019-09-27
@UPSA

-k cannot be removed, but it will change links to files not downloaded by Wget to the absolute addresses of those files on the remote server.
Try adding -H -x -d
-H Allows you to visit any server that has a link.
-x create folder structure. Maybe the length is not enough ...
-d no errors?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question