d047ffdcc2added options for headless computers, changed the downloa path to raw_files1kamma2022-10-05 03:37:43 +03:00
9b6f63a7f0Added the chain Yeinot Bitan (also to tests).
korenlazar
2022-10-04 13:36:29 +03:00
86ff2ca7b7Fixed small bug in valid_store_id_by_chain function
korenlazar
2022-10-04 12:11:44 +03:00
b1737839ceFixed bug with Shufersal Scraping by changing xml files category back to normal Enum.
korenlazar
2022-10-04 12:09:42 +03:00
7b63eab7bdleftover from last commit
korenlazar
2022-10-04 11:42:57 +03:00
ceff48dbd9Fixed 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
korenlazar
2022-10-04 11:42:36 +03:00
b5db721a3dMerge pull request #6 from korenLazar/test-scraping
korenLazar
2021-08-18 12:26:23 +03:00
87b6fbe2b0Changed ClubID enum class to include a string field used for printing, and define ClubID.OTHER as a default value for the class to handle invalid inputs.
KorenLazar
2021-08-18 11:30:31 +03:00
322995ba15Added TODO for ordering the argparse
KorenLazar
2021-08-18 11:16:25 +03:00
294dee8cc2Added test for searching different files' urls. Specifically, asserting the searching non-full files does not yield urls of full files.
KorenLazar
2021-08-17 13:08:39 +03:00
cffdd84086Added specific searching for the download url of non-full promotions and prices files. Changed return value of get_download_url accordingly.
KorenLazar
2021-08-17 13:06:42 +03:00
3770352d04Added new requirements to requirements.txt
KorenLazar
2021-08-17 09:35:20 +03:00
63fec1490cAdded new requirements to requirements.txt
KorenLazar
2021-08-17 09:18:45 +03:00
c1281cb312Added a test for scraping the promotions and exporting them to xlsx files.
KorenLazar
2021-08-16 23:09:10 +03:00
c793057623Documentation and minor changes
KorenLazar
2021-08-16 14:06:54 +03:00
13991aaa40Documentation and minor changes
KorenLazar
2021-08-16 14:05:22 +03:00
b3d410306dRemoved filtering by PRODUCTS_TO_IGNORE
KorenLazar
2021-08-16 14:04:46 +03:00
62089dd538Merge pull request #5 from korenLazar/export-promotions-to-xlsx-table
korenLazar
2021-08-16 12:51:48 +03:00
03ff6d5281Changed 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.
KorenLazar
2021-08-16 12:44:32 +03:00
e09b2da4a1removed get_all_deals function
KorenLazar
2021-08-16 12:43:01 +03:00
58bb04f1ddAdded get_all_promos_tags function and included the non-full promotions file in the promotions collection.
KorenLazar
2021-08-16 12:42:38 +03:00
ebb1e912b9Change INFO logging format
KorenLazar
2021-08-16 12:40:06 +03:00
98dcc1c33dAdd price_by_measure member to Item object
KorenLazar
2021-08-16 12:39:28 +03:00
8a726ff605Merge pull request #4 from korenLazar/export-promotions-to-xlsx-table
korenLazar
2021-06-17 10:36:20 +03:00
27b45a4999finished implementing exporting promotion to xlsx table and automatically opening the xlsx file
KorenLazar
2021-06-01 21:00:40 +03:00
ec505dba67minor rephrasing in documentation
KorenLazar
2021-05-18 14:34:11 +03:00
3ae8d02836correction, by comments and suggestions of Koren1kamma2021-04-29 17:55:21 +03:00
9f5464317dHas added tests for the promotion functions for Shufersal and CoOp. Also added minor design changes in promotion.py and item.py
KorenLazar
2021-03-08 14:13:30 +02:00
c86fc7c1abMoved to writing solely to CSV. Added some columns and drastly improved the logics behind price after promotion column.
KorenLazar
2021-02-25 20:54:44 +02:00
8aa33cbcdaadded columns to csv: price after promotion, discount in percentage and promotion type (regular/club/credit card).
KorenLazar
2021-02-23 08:27:00 +02:00