Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

245
Views
How to download all the images from the website in order, naming them from 1 to 1000

I want to download all the jpg and png images from the website but I need them to download in order and maybe if it's possible naming them during the download. For example download 1000 images, in order from 1 to 1000 with the name of order. For example 3rd picture will be named 3, or 300 picture will be named 300. I'm newbie in coding and I need this for my project. I can download them manually, but it will take time and I want to learn how to automate such process.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You may use the following approach

# IMPORT LIBRARIES
# choose libraries to be used

def download_images_from_url(url):
    count = 1  # initialize counter
    # loop
    
        # write code to download the image from website
    
        # write code to store it locally
    
        #  rename the image using count variable
        
    count+=1 #update counter
    
url = "https://www.website.com"
download_images_from_url(url)
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!