Merge branch 'master' of https://github.com/1kamma/supermarket-scraping
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -8,3 +8,4 @@ all_deals.py | |||||||
| unknown_items.csv | unknown_items.csv | ||||||
| helper_* | helper_* | ||||||
| .vscode/ | .vscode/ | ||||||
|  | desktop.ini | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| import logging | import logging | ||||||
| import re | import re | ||||||
|  | import sys | ||||||
| from datetime import datetime | from datetime import datetime | ||||||
| from typing import Dict, List, Union | from typing import Dict, List, Union | ||||||
| from bs4.element import Tag | from bs4.element import Tag | ||||||
| @@ -19,6 +20,8 @@ from utils import ( | |||||||
|     xml_file_gen, |     xml_file_gen, | ||||||
| ) | ) | ||||||
| from supermarket_chain import SupermarketChain | from supermarket_chain import SupermarketChain | ||||||
|  | from utils import (create_bs_object, create_items_dict, get_float_from_tag, | ||||||
|  |                    xml_file_gen) | ||||||
|  |  | ||||||
| XML_FILES_PROMOTIONS_CATEGORIES = [ | XML_FILES_PROMOTIONS_CATEGORIES = [ | ||||||
|     SupermarketChain.XMLFilesCategory.PromosFull, |     SupermarketChain.XMLFilesCategory.PromosFull, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user