10 Commits

Author SHA1 Message Date
6f527b12d5 prefs 2022-10-05 12:42:53 +03:00
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
86ff2ca7b7 Fixed small bug in valid_store_id_by_chain function 2022-10-04 12:11:44 +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
90cab0a2e1 Minor changes 2021-08-18 11:32:04 +03:00
KorenLazar
294dee8cc2 Added test for searching different files' urls. Specifically, asserting the searching non-full files does not yield urls of full files. 2021-08-17 13:08:39 +03:00
KorenLazar
3770352d04 Added new requirements to requirements.txt 2021-08-17 09:35:20 +03:00
KorenLazar
c1281cb312 Added a test for scraping the promotions and exporting them to xlsx files. 2021-08-16 23:09:10 +03:00
KorenLazar
98dcc1c33d Add price_by_measure member to Item object 2021-08-16 12:39:28 +03:00
KorenLazar
9f5464317d Has added tests for the promotion functions for Shufersal and CoOp. Also added minor design changes in promotion.py and item.py 2021-03-08 14:13:30 +02:00