There is a list of URLs of pictures in jpg, jpeg, png formats (about 100k pcs.). It is necessary to find out without downloading: is this a smaller image than 640x480

For example, my input information is stored in the form: https://www.metropac.com/woeimg/00355976.jpg

PS Google polapatil and tried several useless options, and came to the conclusion that you can not do without downloading.

  • 2
    if the content of the pictures is not available, then how is the information about the picture known: in the file name in the URL? in the returned http headers? Does the API server provide meta-information about pictures on request? Add this information to the question. Click Edit - jfs
  • @jfs, a solution of the type comes to mind: download a picture, find out everything you need about it, delete it - repeat it with the next one, etc. Maybe this solution can be implemented? - Dmitry Vladimirovich
  • one
    what is your difficulty: how to download a picture? or how to find out the size of the downloaded image? temporarily retrieved an image using library requests - jfs
  • @jfs, put both that, and that on a flow, since the number of pictures is constantly increasing - Dmitry Vladimirovich
  • start with the code for one link. Then show your attempts to interrogate several addresses and what specific errors arise. Here is a simple code example, how can you parallel reference links - jfs

0