Product crawling
This program offer to periodically read site and looking for particular size availability.
For example:
python look_for_product.py http://zara.com.pl/fake-product.html L
which will run a program that check for that product in L size. Sizes might be given in numbers (like for shoes) or classic enumeration like XS, S, M, L, XL, XXL.
Program should inform immediately about availability of product.
Architecture
- parser module - loads and parses markup to comon object of product
- condition to check is it already done
- periodically checker
- sink for notification
Running
bin/lookup
is a CLI executable that will check specific product by some ID (TODO: create that file). No values provided will run an interactive mode (asking for a URL or something else).
bin/lookup ${id} ${firstName}=${firstValue}
To be done:
- support for linux notification (background_notifier.py)
- support for balloontip.py (Windows feature)
Interesting features (please pull request if any)
- daemon run
- socket notification (instead of desktop or even console one)
- client-server modes (polling more than one availability)