Download images from the photography website called "Unsplashed" and save/store the images based on the topic.
I modified this script which works well:
https://github.com/ibuetler/unsplash-image-downloader-python
- save the images in subfolders named after the topic
- input validation, logging, sleep module, etc.
python3 downloader.py --topic hacking --resolution 800x600 --amount 50
python3 downloader.py --topic hacking --resolution 640x451 --amount 50
python downloader.py --topic hacking --resolution 1280x1280 --amount 2
You can also let the user provide the necessary values. The screenshot can give an idea:
![image](https://private-user-images.githubusercontent.com/59505246/285615386-e4461b36-19f0-4ed4-83b2-b13a3761e881.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMTc2MTAsIm5iZiI6MTcyMTMxNzMxMCwicGF0aCI6Ii81OTUwNTI0Ni8yODU2MTUzODYtZTQ0NjFiMzYtMTlmMC00ZWQ0LTgzYjItYjEzYTM3NjFlODgxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDE1NDE1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjMGViMDUwZmI0MzA1NTQ1OGZmNjBjYzIzMDUxMzI4MGY1OWMyZWQyMzk4NGFiNDE1ZDI1MDkxM2VkMTk4ZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.d_oDqfe_WsVvqtfI7vCYLypHrj6lRGrvEizBBn8AG38)