leftover from last commit
This commit is contained in:
@@ -7,7 +7,7 @@ from supermarket_chain import SupermarketChain
|
|||||||
class Shufersal(SupermarketChain):
|
class Shufersal(SupermarketChain):
|
||||||
|
|
||||||
@staticmethod
|
@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}"
|
url = f"http://prices.shufersal.co.il/FileObject/UpdateCategory?catID={category.value}"
|
||||||
if SupermarketChain.is_valid_store_id(int(store_id)):
|
if SupermarketChain.is_valid_store_id(int(store_id)):
|
||||||
url += f"&storeId={store_id}"
|
url += f"&storeId={store_id}"
|
||||||
|
Reference in New Issue
Block a user