M
M
mUchenik2016-07-16 00:17:03
Wget
mUchenik, 2016-07-16 00:17:03

Wget does not download the site, how to fix it?

Good mood and health to all!
Dear experts, tell me why wget doesn't download the site completely?
It only downloads an html file with the following content:

<html>
<head>
  <script>function set_cookie(){var now = new Date();var time = now.getTime();time += 19360000 * 1000;now.setTime(time);document.cookie='beget=begetok'+'; expires='+now.toGMTString()+'; path=/';}set_cookie();location.reload();;
  </script>
</head>
<body>
</body>
</html>

Tell me, maybe I'm doing something wrong?
I write the following command: wget.exe -r -l0 -k -p -nH -E -t 4 -c rastro-ekb.ru -PD:\Sites\
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
#
#algooptimize #bottize, 2016-07-16
@mUchenik

well, how would the purpose of cookies be here, like wget is not yet able to run scripts, write the cookies yourself

A
Alexey, 2016-07-16
@alsopub

You all do this, however, the Anti-DDOS system is running on the specified site, which first sets the Cookie and in parallel checks the functionality of JavaScript to weed out "stupid" bots.
Didn't look at the wget man page, but you need to pass the beget=begetok cookie

M
mUchenik, 2016-07-16
@mUchenik

Didn't know that you can pass cookies... Can you tell me how to do it?

L
Lobster, 2016-07-16
@YoManYo

I also could not download one site. This resource xdan.ru/copysite helped me

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question