present
present copied to clipboard
Download images from urls
Hello, can I take over this one?
Yes!
The idea I had for this was to (1) show the user a download progress of each image as its being downloaded (if the image is specified as a url in markdown), and (2) save the images in an images folder in the current directory. (3) The images folder acts like a cache so that the same images aren't download the next time present is invoked, unless the url / image alt has changed.
Hi @vinayak-mehta,
Do you mind if I use an external library for the progress bar?
Also should I create a helpers.py file to store image downloader function in?
An external library should be good. Which one are you planning to use?
You could also just use click's progress bar utility.
Oh yeah, I think I will use click.