CURL – Download images from the website programmatically

Problem: I wanted to download a series of files starting from 1.jpg to 100.jpg

Solution:

  1. Download Curl
  2. Run the below command
    C:\Users\User\Downloads\curl-7.63.0-win64-mingw\curl-7.63.0-win64-mingw\bin>curl http://abcd.com/%5B1-100%5D.jpg-O

More Info : https://curl.haxx.se/docs/manpage.html

Leave a comment