I need to download the files on the server in batches and save them locally. How do I write a script?

  node.js, question

The following URL list is available:

http://www.test.com/download/1/
http://www.test.com/download/2/
http://www.test.com/download/3/
http://www.test.com/download/4/



http://www.test.com/download/100/

Access to each of the above web addresses will return a file, possibly png or zip, and browser access will automatically download it.

Now I need a script program that can download them in batches and save them to a local folder as follows:

one
2
3
4



100

May I ask the great god, can we use script program to realize this process? I am a windows system and have python, php and node.js installed.

wget -r