This commit is contained in:
2024-03-19 09:29:12 +01:00
parent 7e9dd3ce14
commit 79d713e3a2
2 changed files with 31 additions and 1 deletions

View File

@ -22,7 +22,6 @@ def load_cookies_from_file(file_path):
def check_item(settings_item):
'''
return a dict with items data extracted from aliexpress.
a file containing aliexpress login token cookies has to be provided in ./cookies.json (obtained with cookie-quick-manager https://github.com/ysard/cookie-quick-manager/) for accurate prices (no "welcome discount")
extracted data:
skuId, quantity, discount_percentage, price, currency, choice_delivery, image
parameter settings_item is a list of tables (string(itemid), attributes)