Tool that signals when delivery spot opens
This repository is for educational purposes only.
As a reaction to COVID-19 pandemic a lot of Lithuanian would like to shop online.
Unfortunately most popular online supermarket BARBORA.lt is not able to address rising demand.
This repository contains an example script that could help you to get signal when there are open delivery timeslots.
Requires Python > 3
pip install -r requirements.txt
- Visit www.barbora.lt
- Enter devtools (F12)
- Choose Network tag
- Choose a delivery address/pickup in website
- Check devtools, right click on any line and select "Save all as HAR"
- Put HAR file in the same directory as main.py
Extract headers from har file by running:
python main.py parse_har "path to HAR file.har"
This will create "path to har file.har.json"
with all required headers
Then, run the monitoring system
python main.py alarm "path to har file.har.json"
Everytime script finds a slot it will beep.