15 Commits

Author SHA1 Message Date
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
cffdd84086 Added specific searching for the download url of non-full promotions and prices files. Changed return value of get_download_url accordingly. 2021-08-17 13:06:42 +03:00
KorenLazar
844a106c57 Added tqdm 2021-08-16 23:05:16 +03:00
KorenLazar
b3d410306d Removed filtering by PRODUCTS_TO_IGNORE 2021-08-16 14:04:46 +03:00
KorenLazar
03ff6d5281 Changed create_items_dict function to included non-full prices file in the items dictionary.
Changed log_products_prices to work with an items dictionary and a __repr__ function of the Item class.
2021-08-16 12:44:32 +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
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
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
d7e5b709f8 has added a CSV format promotions file when running --promos. Item.py was added for moduling. 2021-01-28 16:25:38 +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
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