wget

Delays between requests in wget


I want to download a website using wget, but to make it more like a real user I would like to make small random delays between requests.


Solution

  • You can add the below code into your command line which adds a ten second wait in between server requests.

    -w 10

    And you can also include

    --random-wait

    Into your command line with -w option which will vary the wait by 0.5 and 1.5 times the value you provide here.