From ab7360bf7939122422aae006b4fae7c28e13154b Mon Sep 17 00:00:00 2001 From: Simon <103170889+simonbeguin@users.noreply.github.com> Date: Wed, 3 Jul 2024 13:45:20 +0200 Subject: [PATCH] Update items.py --- src/pyVinted/items/items.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pyVinted/items/items.py b/src/pyVinted/items/items.py index 90ed63f..ee9e6e7 100644 --- a/src/pyVinted/items/items.py +++ b/src/pyVinted/items/items.py @@ -54,25 +54,25 @@ def parseUrl(self, url, nbrItems=20, page=1, time=None) -> Dict: map(str, [tpl[1] for tpl in querys if tpl[0] == "catalog[]"]) ), "color_ids": ",".join( - map(str, [tpl[1] for tpl in querys if tpl[0] == "color_id[]"]) + map(str, [tpl[1] for tpl in querys if tpl[0] == "color_ids[]"]) ), "brand_ids": ",".join( - map(str, [tpl[1] for tpl in querys if tpl[0] == "brand_id[]"]) + map(str, [tpl[1] for tpl in querys if tpl[0] == "brand_ids[]"]) ), "size_ids": ",".join( - map(str, [tpl[1] for tpl in querys if tpl[0] == "size_id[]"]) + map(str, [tpl[1] for tpl in querys if tpl[0] == "size_ids[]"]) ), "material_ids": ",".join( - map(str, [tpl[1] for tpl in querys if tpl[0] == "material_id[]"]) + map(str, [tpl[1] for tpl in querys if tpl[0] == "material_ids[]"]) ), "status_ids": ",".join( map(str, [tpl[1] for tpl in querys if tpl[0] == "status[]"]) ), "country_ids": ",".join( - map(str, [tpl[1] for tpl in querys if tpl[0] == "country_id[]"]) + map(str, [tpl[1] for tpl in querys if tpl[0] == "country_ids[]"]) ), "city_ids": ",".join( - map(str, [tpl[1] for tpl in querys if tpl[0] == "city_id[]"]) + map(str, [tpl[1] for tpl in querys if tpl[0] == "city_ids[]"]) ), "is_for_swap": ",".join( map(str, [1 for tpl in querys if tpl[0] == "disposal[]"])