diff --git a/chains/shufersal.py b/chains/shufersal.py index 1024ec8..4c7fee4 100644 --- a/chains/shufersal.py +++ b/chains/shufersal.py @@ -7,7 +7,7 @@ from supermarket_chain import SupermarketChain class Shufersal(SupermarketChain): @staticmethod - def get_download_url(store_id: int, category: SupermarketChain.XMLFilesCategory, session: requests.Session) -> str: + def get_download_url_or_path(store_id: int, category: SupermarketChain.XMLFilesCategory, session: requests.Session) -> str: url = f"http://prices.shufersal.co.il/FileObject/UpdateCategory?catID={category.value}" if SupermarketChain.is_valid_store_id(int(store_id)): url += f"&storeId={store_id}"