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
korenlazar2022-10-04 11:42:36 +03:00
b5db721a3d
Merge pull request #6 from korenLazar/test-scraping
korenLazar2021-08-18 12:26:23 +03:00
87b6fbe2b0
Changed 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.
KorenLazar2021-08-18 11:30:31 +03:00
322995ba15
Added TODO for ordering the argparse
KorenLazar2021-08-18 11:16:25 +03:00
294dee8cc2
Added test for searching different files' urls. Specifically, asserting the searching non-full files does not yield urls of full files.
KorenLazar2021-08-17 13:08:39 +03:00
cffdd84086
Added specific searching for the download url of non-full promotions and prices files. Changed return value of get_download_url accordingly.
KorenLazar2021-08-17 13:06:42 +03:00
3770352d04
Added new requirements to requirements.txt
KorenLazar2021-08-17 09:35:20 +03:00
63fec1490c
Added new requirements to requirements.txt
KorenLazar2021-08-17 09:18:45 +03:00
c1281cb312
Added a test for scraping the promotions and exporting them to xlsx files.
KorenLazar2021-08-16 23:09:10 +03:00
b3d410306d
Removed filtering by PRODUCTS_TO_IGNORE
KorenLazar2021-08-16 14:04:46 +03:00
62089dd538
Merge pull request #5 from korenLazar/export-promotions-to-xlsx-table
korenLazar2021-08-16 12:51:48 +03:00
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.
KorenLazar2021-08-16 12:44:32 +03:00
58bb04f1dd
Added get_all_promos_tags function and included the non-full promotions file in the promotions collection.
KorenLazar2021-08-16 12:42:38 +03:00
9f5464317d
Has added tests for the promotion functions for Shufersal and CoOp. Also added minor design changes in promotion.py and item.py
KorenLazar2021-03-08 14:13:30 +02:00
c86fc7c1ab
Moved to writing solely to CSV. Added some columns and drastly improved the logics behind price after promotion column.
KorenLazar2021-02-25 20:54:44 +02:00
8aa33cbcda
added columns to csv: price after promotion, discount in percentage and promotion type (regular/club/credit card).
KorenLazar2021-02-23 08:27:00 +02:00