https://github.com/tmarice/konzum_watchdog
Konzum Klik delivery times watchdog
https://github.com/tmarice/konzum_watchdog
crawling konzum-klik python watchdog
Last synced: 6 months ago
JSON representation
Konzum Klik delivery times watchdog
- Host: GitHub
- URL: https://github.com/tmarice/konzum_watchdog
- Owner: tmarice
- Created: 2020-04-29T16:34:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:42:48.000Z (almost 3 years ago)
- Last Synced: 2025-02-10T14:14:37.244Z (8 months ago)
- Topics: crawling, konzum-klik, python, watchdog
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Konzum Watchdog
In this time of scarce delivery times for groceries from Konzum Klik, this script is not the script we need, but the script we deserve. Or something like that.
## Prerequisites
1. Install [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/)
2. Install [pyenv](https://github.com/pyenv/pyenv#installation)
3. Register on [Konzum Klik](https://www.konzum.hr/web/sign_up)
4. Register on [Sendgrid](https://sendgrid.com/pricing/) - need to verify a sending domain or setup a single sender address
5. Generate a [Sendgrid API key](https://app.sendgrid.com/settings/api_keys)## Config
Konzum Klik login details:
* `KONZUM_KLIK_USERNAME`
* `KONZUM_KLIK_PASSWORD`Sendgrid:
* `SENDGRID_API_KEY`
* `NOTIFY_TO_ADDRESS` - to which email address to send a notification when the delivery time opens up
* `NOTIFY_FROM_ADDRESS` - from which email address to send (if you verified your own domain, it can be anything@your-domain.com)## Setup
1. `git clone`
2. `cd konzum_watchdog`
3. `pyenv local`
4. `mkvirtualenv konzum_watchdog`
5. `cp env.sh.example env.sh`
6. `vim env.sh # input your own data`
7. `pip install -r requirements.txt`## Run
`source env.sh && python main.py`