22 Commits

Author SHA1 Message Date
korenlazar
9b6f63a7f0 Added the chain Yeinot Bitan (also to tests).
Changed price with promos to include only regular promotions.
Added filtering of promotions including too many items.
2022-10-04 13:36:29 +03:00
korenlazar
ceff48dbd9 Fixed the bug with cerberus_web_client.py by working with Selenium. To login each chain working with it must have a username for login with Selenium. in this mechanism, a path to a gz file is returned instead of url
Added the option to output a prices json file in main.py under --prices-with-promos, where the prices are updated by the latest promotions (under the 'final_price' key, where 'price' represents the price before promotions).

Fixed small bug of BinaWebCleint by checking that filename does not contain 'null'.

Changed Hierarchy of chains such that it includes the webclients.

Added the date to the output filenames to start storing the data over time.

Black formatting (according to pip 8 guidelines).

Changed the chains_dict in main to a constant one.
2022-10-04 11:42:36 +03:00
KorenLazar
322995ba15 Added TODO for ordering the argparse 2021-08-18 11:16:25 +03:00
KorenLazar
1a88ed6e01 minor changes 2021-08-16 23:08:04 +03:00
KorenLazar
ebb1e912b9 Change INFO logging format 2021-08-16 12:40:06 +03:00
KorenLazar
27b45a4999 finished implementing exporting promotion to xlsx table and automatically opening the xlsx file 2021-06-01 21:00:40 +03:00
KorenLazar
c86fc7c1ab Moved to writing solely to CSV. Added some columns and drastly improved the logics behind price after promotion column. 2021-02-25 20:54:44 +02:00
KorenLazar
850d3963fe has added binaproject clients 2021-02-07 10:46:54 +02:00
KorenLazar
9983d07c2b replaced the member '_class_name' by the 'class.__name__' 2021-02-07 08:18:22 +02:00
KorenLazar
67bff9fa76 minor changes 2021-02-06 22:53:18 +02:00
KorenLazar
18f3fa32b9 has added many chains 2021-02-06 21:42:31 +02:00
KorenLazar
3a57edf5af has added RamiLevi to the chains collection 2021-02-06 14:41:04 +02:00
KorenLazar
47c0d04ce4 Updated README.md with latest changes and directory names to be more meaningful 2021-01-28 14:13:34 +02:00
KorenLazar
ee35e3436c Has added Zol Vebengadol. Fixed small bug in Co-Op. 2020-12-26 17:18:21 +02:00
KorenLazar
be47a5ad81 has added Co-Op chain. Extendability to other chain has significantly improved as well. 2020-12-17 22:48:10 +02:00
KorenLazar
4c0eba1771 added --find_promos_by_name option 2020-12-16 16:09:43 +02:00
KorenLazar
db6bfb3632 changed create_bs mechanism and moved to simply printing to stdout in --find_store_id and --price 2020-12-15 11:28:17 +02:00
KorenLazar
975447dcd7 splitted to multiple files 2020-12-13 13:33:07 +02:00
KorenLazar
dfca61c793 has fixed has_expired validation, added start_date and has_started validation, changed promotions sorting to max(update_date,start_date), 2020-12-07 13:48:16 +02:00
KorenLazar
0bbaaa2ead has added README file 2020-12-02 00:04:52 +02:00
KorenLazar
26c1103571 Efficiency improvements were added 2020-11-29 10:09:51 +02:00
KorenLazar
18ea20f6fd First commit 2020-11-24 15:13:44 +02:00