download_image#

ignis.utils.Utils.download_image(url: str, path: str, **kwargs) int#

Download an image from the given URL.

Parameters:
  • url (str) -- The URL of the image.

  • path (str) -- The path where the image will be saved.

kwargs will be passed to the requests.get() method.

Return type:

int

Returns:

The response status code (200 if success).