Skip to content

Commit e9cdee5

Browse files
authored
Merge pull request #18 from OpenIsraeliSupermarkets/dev
add wolt
2 parents 17411e3 + 4d52e8c commit e9cdee5

5 files changed

Lines changed: 15 additions & 2 deletions

File tree

il_supermarket_parsers/parser_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class ParserFactory(Enum):
4242
YELLOW = all_parsers.YellowFileConverter
4343
YOHANANOF = all_parsers.YohananofFileConverter
4444
ZOL_VEBEGADOL = all_parsers.ZolVebegadolFileConverter
45+
WOLT = all_parsers.WoltFileConverter
4546

4647
@classmethod
4748
def all_listed_parsers(cls):

il_supermarket_parsers/parsers/other.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,9 @@ class ZolVebegadolFileConverter(BaseFileConverter):
147147
File converter for Zol Vebegadol supermarket chain.
148148
Extends: BaseFileConverter
149149
"""
150+
151+
152+
class WoltFileConverter(BaseFileConverter):
153+
"""
154+
wolt
155+
"""

il_supermarket_parsers/parsers/tests/test_all.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,3 +276,9 @@ class ZolVeBegadolTestCase(
276276
"""
277277
Test case for Zol VeBegadol supermarket.
278278
"""
279+
280+
281+
class WoltTestCase(make_test_case(ScraperFactory.WOLT, ParserFactory.WOLT)):
282+
"""
283+
Test case for wolt supermarket.
284+
"""

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pandas==2.2.2
22
lxml==5.2.1
33
pymongo==4.6.3
4-
il-supermarket-scraper>=0.5.4
4+
il-supermarket-scraper>=0.5.6
55
tqdm==4.66

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
tests_require=dev_required,
3232
extras_require={"test": ["pytest", "pytest-xdist"]},
3333
# *strongly* suggested for sharing
34-
version="0.1.3",
34+
version="0.1.4",
3535
# The license can be anything you like
3636
license="MIT",
3737
description="python package that process the data dumped by the israeli supermarket",

0 commit comments

Comments
 (0)