2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: DefaultOnExceptionError in _extract_make: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/app/common/utils/decorators.py", line 16, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/crawlers/spiders/auto_selling_leboncoin.py", line 359, in _extract_make
else brand_attribute_details.get("value_label")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: Payload: {"list_id": 3166741337, "first_publication_date": "2026-03-23 10:43:12", "expiration_date": "2026-05-22 11:43:12", "index_date": "2026-03-23 10:43:12", "status": "active", "category_id": "6", "category_name": "\u00c9quipement auto", "subject": "Turbo nissan juke 2021", "body": "TURBO Nissan Juke 1.0 DIG- T 2021 117cv\n70 000kms\n\nRef: 16319700053", "brand": "leboncoin", "ad_type": "offer", "url": "https://www.leboncoin.fr/ad/equipement_auto/3166741337", "price": [550], "price_cents": 55000, "images": {"thumb_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-thumb", "small_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-small", "nb_images": 4, "urls": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-image"], "urls_thumb": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-thumb"], "urls_large": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-large"]}, "attributes": [{"key": "activity_sector", "value": "1", "values": ["1"], "value_label": "1", "generic": false}, {"key": "estimated_parcel_weight", "value": "10000", "values": ["10000"], "value_label": "10000", "generic": false}, {"key": "stock_quantity", "value": "1", "values": ["1"], "value_label": "1", "generic": false}, {"key": "is_bundleable", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "purchase_cta_visible", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "country_isocode3166", "value": "FR", "values": ["FR"], "value_label": "FR", "generic": false}, {"key": "vehicle_equipment_type", "value": "", "values": ["vehicle_replacement_repair"], "key_label": "Type", "value_label": "Remplacement et r\u00e9paration de v\u00e9hicules", "values_label": ["Remplacement et r\u00e9paration de v\u00e9hicules"], "generic": true, "display_ad_card": true}, {"key": "new_item_price", "value": "179000", "values": ["179000"], "value_label": "179000", "generic": false}, {"key": "shipping_type", "value": "mondial_relay", "values": ["mondial_relay", "shop2shop", "click_and_collect"], "value_label": "mondial_relay", "generic": false}, {"key": "shippable", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "custom_ref", "value": "16319700053", "values": ["16319700053"], "key_label": "R\u00e9f\u00e9rence", "value_label": "16319700053", "generic": true}, {"key": "is_import", "value": "false", "values": ["false"], "value_label": "false", "generic": false}], "location": {"country_id": "FR", "region_id": "21", "region_name": "Provence-Alpes-C\u00f4te d'Azur", "department_id": "13", "department_name": "Bouches-du-Rh\u00f4ne", "city_label": "Velaux 13880", "city": "Velaux", "zipcode": "13880", "lat": 43.52308, "lng": 5.25765, "source": "city", "provider": "here", "is_shape": true, "feature": {"type": "Feature", "geometry": {"type": "Point", "coordinates": [5.25765, 43.52308]}, "properties": null}}, "owner": {"store_id": "19995527", "user_id": "3656dd2d-4a86-494c-a308-0b08f955ec1f", "type": "pro", "name": "ZS AUTOMOBILES", "siren": "827577388", "no_salesmen": true, "activity_sector": "1"}, "options": {"has_option": false, "booster": false, "photosup": false, "urgent": false, "gallery": false, "sub_toplist": false, "continuous_top_ads": false, "highlight": false}, "has_phone": true, "similar": null, "counters": {}}
2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: DefaultOnExceptionError in _extract_model: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/app/common/utils/decorators.py", line 16, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/crawlers/spiders/auto_selling_leboncoin.py", line 372, in _extract_model
else model_attribute_details.get("value_label")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: Payload: {"list_id": 3166741337, "first_publication_date": "2026-03-23 10:43:12", "expiration_date": "2026-05-22 11:43:12", "index_date": "2026-03-23 10:43:12", "status": "active", "category_id": "6", "category_name": "\u00c9quipement auto", "subject": "Turbo nissan juke 2021", "body": "TURBO Nissan Juke 1.0 DIG- T 2021 117cv\n70 000kms\n\nRef: 16319700053", "brand": "leboncoin", "ad_type": "offer", "url": "https://www.leboncoin.fr/ad/equipement_auto/3166741337", "price": [550], "price_cents": 55000, "images": {"thumb_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-thumb", "small_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-small", "nb_images": 4, "urls": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-image"], "urls_thumb": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-thumb"], "urls_large": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-large"]}, "attributes": [{"key": "activity_sector", "value": "1", "values": ["1"], "value_label": "1", "generic": false}, {"key": "estimated_parcel_weight", "value": "10000", "values": ["10000"], "value_label": "10000", "generic": false}, {"key": "stock_quantity", "value": "1", "values": ["1"], "value_label": "1", "generic": false}, {"key": "is_bundleable", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "purchase_cta_visible", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "country_isocode3166", "value": "FR", "values": ["FR"], "value_label": "FR", "generic": false}, {"key": "vehicle_equipment_type", "value": "", "values": ["vehicle_replacement_repair"], "key_label": "Type", "value_label": "Remplacement et r\u00e9paration de v\u00e9hicules", "values_label": ["Remplacement et r\u00e9paration de v\u00e9hicules"], "generic": true, "display_ad_card": true}, {"key": "new_item_price", "value": "179000", "values": ["179000"], "value_label": "179000", "generic": false}, {"key": "shipping_type", "value": "mondial_relay", "values": ["mondial_relay", "shop2shop", "click_and_collect"], "value_label": "mondial_relay", "generic": false}, {"key": "shippable", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "custom_ref", "value": "16319700053", "values": ["16319700053"], "key_label": "R\u00e9f\u00e9rence", "value_label": "16319700053", "generic": true}, {"key": "is_import", "value": "false", "values": ["false"], "value_label": "false", "generic": false}], "location": {"country_id": "FR", "region_id": "21", "region_name": "Provence-Alpes-C\u00f4te d'Azur", "department_id": "13", "department_name": "Bouches-du-Rh\u00f4ne", "city_label": "Velaux 13880", "city": "Velaux", "zipcode": "13880", "lat": 43.52308, "lng": 5.25765, "source": "city", "provider": "here", "is_shape": true, "feature": {"type": "Feature", "geometry": {"type": "Point", "coordinates": [5.25765, 43.52308]}, "properties": null}}, "owner": {"store_id": "19995527", "user_id": "3656dd2d-4a86-494c-a308-0b08f955ec1f", "type": "pro", "name": "ZS AUTOMOBILES", "siren": "827577388", "no_salesmen": true, "activity_sector": "1"}, "options": {"has_option": false, "booster": false, "photosup": false, "urgent": false, "gallery": false, "sub_toplist": false, "continuous_top_ads": false, "highlight": false}, "has_phone": true, "similar": null, "counters": {}}
2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: DefaultOnExceptionError in _extract_transmission: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/app/common/utils/decorators.py", line 16, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/crawlers/spiders/auto_selling_leboncoin.py", line 387, in _extract_transmission
if attribute_details.get("value_label") == "Automatique"
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: Payload: {"list_id": 3166741337, "first_publication_date": "2026-03-23 10:43:12", "expiration_date": "2026-05-22 11:43:12", "index_date": "2026-03-23 10:43:12", "status": "active", "category_id": "6", "category_name": "\u00c9quipement auto", "subject": "Turbo nissan juke 2021", "body": "TURBO Nissan Juke 1.0 DIG- T 2021 117cv\n70 000kms\n\nRef: 16319700053", "brand": "leboncoin", "ad_type": "offer", "url": "https://www.leboncoin.fr/ad/equipement_auto/3166741337", "price": [550], "price_cents": 55000, "images": {"thumb_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-thumb", "small_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-small", "nb_images": 4, "urls": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-image", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-image"], "urls_thumb": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-thumb", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-thumb"], "urls_large": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/64/40/57/644057eee8fd2013c89b0a4a5daa1dfb0106bb79.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/a8/78/cb/a878cb86d2373abd428b168444cd8024e088840e.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/28/67/4d/28674dc4bac38c5b82bedd6ecd1fa6d7cac96ab1.jpg?rule=ad-large", "https://img.leboncoin.fr/api/v1/lbcpb1/images/36/e4/72/36e472e369b13e9d96b51546b2e84caee19a1b52.jpg?rule=ad-large"]}, "attributes": [{"key": "activity_sector", "value": "1", "values": ["1"], "value_label": "1", "generic": false}, {"key": "estimated_parcel_weight", "value": "10000", "values": ["10000"], "value_label": "10000", "generic": false}, {"key": "stock_quantity", "value": "1", "values": ["1"], "value_label": "1", "generic": false}, {"key": "is_bundleable", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "purchase_cta_visible", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "country_isocode3166", "value": "FR", "values": ["FR"], "value_label": "FR", "generic": false}, {"key": "vehicle_equipment_type", "value": "", "values": ["vehicle_replacement_repair"], "key_label": "Type", "value_label": "Remplacement et r\u00e9paration de v\u00e9hicules", "values_label": ["Remplacement et r\u00e9paration de v\u00e9hicules"], "generic": true, "display_ad_card": true}, {"key": "new_item_price", "value": "179000", "values": ["179000"], "value_label": "179000", "generic": false}, {"key": "shipping_type", "value": "mondial_relay", "values": ["mondial_relay", "shop2shop", "click_and_collect"], "value_label": "mondial_relay", "generic": false}, {"key": "shippable", "value": "true", "values": ["true"], "value_label": "true", "generic": false}, {"key": "custom_ref", "value": "16319700053", "values": ["16319700053"], "key_label": "R\u00e9f\u00e9rence", "value_label": "16319700053", "generic": true}, {"key": "is_import", "value": "false", "values": ["false"], "value_label": "false", "generic": false}], "location": {"country_id": "FR", "region_id": "21", "region_name": "Provence-Alpes-C\u00f4te d'Azur", "department_id": "13", "department_name": "Bouches-du-Rh\u00f4ne", "city_label": "Velaux 13880", "city": "Velaux", "zipcode": "13880", "lat": 43.52308, "lng": 5.25765, "source": "city", "provider": "here", "is_shape": true, "feature": {"type": "Feature", "geometry": {"type": "Point", "coordinates": [5.25765, 43.52308]}, "properties": null}}, "owner": {"store_id": "19995527", "user_id": "3656dd2d-4a86-494c-a308-0b08f955ec1f", "type": "pro", "name": "ZS AUTOMOBILES", "siren": "827577388", "no_salesmen": true, "activity_sector": "1"}, "options": {"has_option": false, "booster": false, "photosup": false, "urgent": false, "gallery": false, "sub_toplist": false, "continuous_top_ads": false, "highlight": false}, "has_phone": true, "similar": null, "counters": {}}
2026-03-31 21:47:45 [auto_selling_leboncoin.fr] ERROR: Error extracting item: Field transmission is not nullable
Traceback (most recent call last):
File "/usr/src/app/crawlers/spiders/auto_selling_leboncoin.py", line 290, in _extract_listing_item
item["transmission"] = self._extract_transmission(details_data)
~~~~^^^^^^^^^^^^^^^^
File "/usr/src/app/crawlers/items.py", line 116, in __setitem__
raise ValueError(f"Field {key} is not nullable")
ValueError: Field transmission is not nullable
2026-03-31 21:47:49 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f84e374f5d0>
2026-03-31 21:47:49 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f84e374fe50>