https://github.com/nima-abdpoor/image-downloader
https://github.com/nima-abdpoor/image-downloader
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nima-abdpoor/image-downloader
- Owner: nima-abdpoor
- Created: 2024-11-08T10:28:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T13:22:05.000Z (11 months ago)
- Last Synced: 2024-11-08T14:26:58.684Z (11 months ago)
- Language: Go
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Downloader
client application to search for images and storing them locally.### How to run
Please first set the `API_KEY` in config.yaml. You can get from [PEXEL](https://www.pexels.com).
Application Asks for your query. enter your desired query to be searched, then asks for maximum number of results.
The `title` and `url` of your request will be stored in `image_result` table. Downloaded images will be in `raw` folder.### Reliable
This application firstly stores your search query as `InProgress` state, and then tries to process your request, if it wasn't successful, then the status of the request will set to `Failed` otherwise will set to `Successfull`.
The scheduler will search for `Failed` requests, and retry them, and if needed, will update the state of the requests.