Improvement includes: Refactor download_image function to support replacing existing files
When you run the code, it will check if the files already exist. If they do, you will be asked 2 options:
Skip existing files and download new ones.
Replace existing files and download all.
If you pick the first option, it will skip the existing files and download the remaining images (incase you accidentally closed the program).
If you pick the second option, it will replace existing files and download them all.
Improvement includes: Refactor
download_image
function to support replacing existing filesWhen you run the code, it will check if the files already exist. If they do, you will be asked 2 options:
If you pick the first option, it will skip the existing files and download the remaining images (incase you accidentally closed the program). If you pick the second option, it will replace existing files and download them all.