Head
2026-01-29 08:00:26 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-01-29 08:00:26 [scrapy.utils.log] INFO: Versions: lxml 5.2.2.0, libxml2 2.12.6, cssselect 1.2.0, parsel 1.9.1, w3lib 2.1.2, Twisted 24.3.0, Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0], pyOpenSSL 24.1.0 (OpenSSL 3.2.1 30 Jan 2024), cryptography 42.0.7, Platform Linux-5.15.0-1098-azure-x86_64-with-glibc2.36
2026-01-29 08:00:26 [ayvens.fr] INFO: Starting spider ayvens.fr
2026-01-29 08:00:26 [scrapy.addons] INFO: Enabled addons:
[]
2026-01-29 08:00:26 [asyncio] DEBUG: Using selector: EpollSelector
2026-01-29 08:00:26 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-01-29 08:00:26 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-01-29 08:00:26 [scrapy.extensions.telnet] INFO: Telnet Password: 6dff95555b14e642
2026-01-29 08:00:26 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.memusage.MemoryUsage',
'scrapy.extensions.feedexport.FeedExporter',
'scrapy.extensions.logstats.LogStats',
'scrapy.extensions.closespider.CloseSpider']
2026-01-29 08:00:26 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'SourcingV2',
'CLOSESPIDER_TIMEOUT': 7200,
'FEED_EXPORT_ENCODING': 'utf-8',
'LOG_FILE': '/var/log/scrapyd/logs/sourcing_v2/ayvens.fr/task_73_2026-01-29T08_00_04.log',
'LOG_FORMATTER': 'crawlers.log_formatter.SourcingLogFormatter',
'NEWSPIDER_MODULE': 'spiders',
'REQUEST_FINGERPRINTER_CLASS': 'scrapy_zyte_api.ScrapyZyteAPIRequestFingerprinter',
'REQUEST_FINGERPRINTER_IMPLEMENTATION': '2.7',
'SPIDER_MODULES': ['spiders', 'auth_check'],
'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor',
'USER_AGENT': ''}
2026-01-29 08:00:26 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-29 08:00:26 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-29 08:00:26 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware',
'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
'scrapy_zyte_api.ScrapyZyteAPIDownloaderMiddleware',
'scrapy.downloadermiddlewares.retry.RetryMiddleware',
'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
'scrapy.downloadermiddlewares.stats.DownloaderStats']
2026-01-29 08:00:27 [crawlers.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware
2026-01-29 08:00:27 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
'scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware',
'crawlers.middlewares.monitoring_spider_middleware.MonitoringSpiderMiddleware',
'scrapy.spidermiddlewares.referer.RefererMiddleware',
'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
'scrapy.spidermiddlewares.depth.DepthMiddleware',
'crawlers.middlewares.photo_download_middleware.PhotoDownloadMiddleware',
'crawlers.middlewares.report_download_middleware.ReportDownloadMiddleware',
'crawlers.middlewares.id_gen_middleware.IdGenMiddleware']
2026-01-29 08:00:27 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-29 08:00:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-29 08:00:27 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2002
2026-01-29 08:00:27 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-01-29 08:00:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-01-29 08:00:27 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-29 08:00:27 [crawlers.pipelines.translation_pipeline] INFO: Loading translations for language: en
2026-01-29 08:00:27 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /Translations()?$filter=PartitionKey%20eq%20%27en%27%20and%20RowKey%20eq%20%27en%27 HTTP/1.1" 200 None
2026-01-29 08:00:27 [crawlers.pipelines.item_rules_pipeline] INFO: Setting up ItemRules Pipeline
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: low_mileage_for_country.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_mileage.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: invalid_location_for_country.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: damaged_cars_from_auction_title.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: puretech_for_country.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: puretech_for_fr.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: missing_photos.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: damaged_from_info.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: makes_not_allowed.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: not_operable_from_info.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: cars_too_new_for_country.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_price_for_currency.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: makes_models_not_allowed.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: keywords_from_title.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: imported_cars.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: invalid_currency.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_mileage_for_country.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: missing_mileage.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: keywords_from_auction_title.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: invalid_country_of_origin.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: puretech_for_pt.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: electric_cars.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: registration_date_old.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_mileage_for_make.json
2026-01-29 08:00:27 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: missing_color.json
2026-01-29 08:00:27 [crawlers.pipelines.post_to_api] INFO: Setting up PostToApi Pipeline pointing to https://api.app.infinit.cc/api/command/Alx.Cars.Contracts.Internal.Sourcing.AddListing
2026-01-29 08:00:27 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.translation_pipeline.TranslationPipeline',
'crawlers.pipelines.item_rules_pipeline.ItemRulesPipeline',
'crawlers.pipelines.post_to_api.PostToApiPipeline']
2026-01-29 08:00:27 [scrapy.core.engine] INFO: Spider opened
2026-01-29 08:00:27 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-01-29 08:00:27 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6026
2026-01-29 08:00:27 [scrapy-playwright] INFO: Starting download handler
2026-01-29 08:00:27 [scrapy-playwright] INFO: Starting download handler
2026-01-29 08:00:32 [scrapy-playwright] INFO: Launching browser firefox
Tail
'auction_title': '',
'c_o_2_emission_value': 125,
'color': 'vert olivine',
'currency': 'eur',
'current_year_diff': 3,
'doors_number': 5,
'engine': '0.1l',
'expiration_date': '2026-01-29t14:00:00z',
'fuel_type': 'petrol',
'id': '91933a12-45b1-5638-b339-88dbb8a983c2',
'is_damaged': False,
'is_operable': True,
'is_vat_deductible': False,
'is_vat_included': True,
'license_plate': None,
'link_to_web_offer': 'https://carmarket.ayvens.com/en-gb/sales/39082',
'listing': 'auction',
'location': None,
'make': 'peugeot',
'make_model': 'peugeot 308',
'model': '308',
'odometer': 83121,
'odometer_in_km': 83121,
'odometer_reading_unit': 'km',
'origin_country_code': 'fr',
'original_photo_count': 0,
'price': 0,
'price_includes_vat': False,
'registration_date': '2023-02-17',
'sanitized_make': 'peugeot',
'seats_number': 5,
'seller_name': None,
'title': 'peugeot 308 308 1.2 puretech 130ch s&s active pack',
'transmission': 'manual',
'trim': '308 1.2 puretech 130ch s&s active pack',
'vin': None,
'year': 2023}
2026-01-29 08:02:20 [crawlers.pipelines.item_rules_pipeline] INFO: rule_title: PURETECH_FOR_COUNTRY failed for item: 91933a12-45b1-5638-b339-88dbb8a983c2 spider: ayvens.fr
2026-01-29 08:02:20 [scrapy.core.scraper] INFO: Dropped: Spider: ayvens.fr, Dropping listing: 91933a12-45b1-5638-b339-88dbb8a983c2 due to rule: puretech_for_country.json, error: False schema does not allow {'auction_title': '', 'is_operable': True, 'is_damaged': False, 'color': 'vert olivine', 'original_photo_count': 0, 'seller_name': None, 'price_includes_vat': False, 'make': 'peugeot', 'model': '308', 'trim': '308 1.2 puretech 130ch s&s active pack', 'title': 'peugeot 308 308 1.2 puretech 130ch s&s active pack', 'price': 0, 'odometer': 83121, 'odometer_reading_unit': 'km', 'registration_date': '2023-02-17', 'year': 2023, 'fuel_type': 'petrol', 'listing': 'auction', 'link_to_web_offer': 'https://carmarket.ayvens.com/en-gb/sales/39082', 'expiration_date': '2026-01-29t14:00:00z', 'is_vat_included': True, 'is_vat_deductible': False, 'doors_number': 5, 'seats_number': 5, 'vin': None, 'license_plate': None, 'engine': '0.1l', 'c_o_2_emission_value': 125, 'origin_country_code': 'fr', 'transmission': 'manual', 'location': None, 'currency': 'eur', 'id': '91933a12-45b1-5638-b339-88dbb8a983c2', 'current_year_diff': 3, 'age_in_months': 35, 'make_model': 'peugeot 308', 'sanitized_make': 'peugeot', 'odometer_in_km': 83121}
Failed validating None in schema:
False
On instance:
{'age_in_months': 35,
'auction_title': '',
'c_o_2_emission_value': 125,
'color': 'vert olivine',
'currency': 'eur',
'current_year_diff': 3,
'doors_number': 5,
'engine': '0.1l',
'expiration_date': '2026-01-29t14:00:00z',
'fuel_type': 'petrol',
'id': '91933a12-45b1-5638-b339-88dbb8a983c2',
'is_damaged': False,
'is_operable': True,
'is_vat_deductible': False,
'is_vat_included': True,
'license_plate': None,
'link_to_web_offer': 'https://carmarket.ayvens.com/en-gb/sales/39082',
'listing': 'auction',
'location': None,
'make': 'peugeot',
'make_model': 'peugeot 308',
'model': '308',
'odometer': 83121,
'odometer_in_km': 83121,
'odometer_reading_unit': 'km',
'origin_country_code': 'fr',
'original_photo_count': 0,
'price': 0,
'price_includes_vat': False,
'registration_date': '2023-02-17',
'sanitized_make': 'peugeot',
'seats_number': 5,
'seller_name': None,
'title': 'peugeot 308 308 1.2 puretech 130ch s&s active pack',
'transmission': 'manual',
'trim': '308 1.2 puretech 130ch s&s active pack',
'vin': None,
'year': 2023}
{'auction_title': '',
'c_o_2_emission_value': 125,
'color': 'VERT OLIVINE',
'currency': 'EUR',
'doors_number': 5,
'engine': '0.1L',
'expiration_date': '2026-01-29T14:00:00Z',
'fuel_type': 'petrol',
'id': '91933a12-45b1-5638-b339-88dbb8a983c2',
'is_damaged': False,
'is_operable': True,
'is_vat_deductible': False,
'is_vat_included': True,
'license_plate': None,
'link_to_web_offer': 'https://carmarket.ayvens.com/en-gb/sales/39082',
'listing': 'auction',
'location': None,
'make': 'PEUGEOT',
'model': '308',
'odometer': 83121,
'odometer_reading_unit': 'km',
'origin_country_code': 'FR',
'original_photo_count': 0,
'price': 0,
'price_includes_vat': False,
'registration_date': '2023-02-17',
'seats_number': 5,
'seller_name': None,
'title': 'PEUGEOT 308 308 1.2 PureTech 130ch S&S Active Pack',
'transmission': 'manual',
'trim': '308 1.2 PureTech 130ch S&S Active Pack',
'vin': None,
'year': 2023}
2026-01-29 08:02:20 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-29 08:02:20 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27ayvens.fr%27%20and%20RowKey%20eq%20%271873557%27 HTTP/1.1" 200 None
2026-01-29 08:02:20 [ayvens.fr] INFO: Saving data for 1873557: {'auction_closing_time': 1769695200.0, 'created_time': 1769458977.515388, 'last_price_update_time': 1769673740.327464}
2026-01-29 08:02:20 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-29 08:02:20 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='ayvens.fr',RowKey='1873557') HTTP/1.1" 204 0
2026-01-29 08:02:20 [ayvens.fr] INFO: Fetching listings with token: 3b2cc62fd26c4e29a762db3de181266b and skip: 800
2026-01-29 08:02:20 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-29 08:02:21 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://api.aldcarmarket.com/graphql/saleevents> (referer: https://carmarket.ayvens.com/) ['zyte-api']
2026-01-29 08:02:21 [scrapy.core.engine] INFO: Closing spider (finished)
2026-01-29 08:02:21 [ayvens.fr] INFO: ayvens.fr Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 0, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 1, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-01-29 08:02:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-29 08:02:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27ayvens.fr%27%20and%20last_price_update_time%20lt%201769241741 HTTP/1.1" 200 None
2026-01-29 08:02:21 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (54 items) in: file:///var/lib/scrapyd/items/sourcing_v2/ayvens.fr/task_73_2026-01-29T08_00_04.jl
2026-01-29 08:02:21 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 14701,
'downloader/request_count': 10,
'downloader/request_method_count/GET': 1,
'downloader/request_method_count/POST': 9,
'downloader/response_bytes': 1802635,
'downloader/response_count': 10,
'downloader/response_status_count/200': 10,
'elapsed_time_seconds': 114.460087,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 1, 29, 8, 2, 21, 884853, tzinfo=datetime.timezone.utc),
'item_dropped_count': 48,
'item_dropped_reasons_count/DropItem': 48,
'item_scraped_count': 54,
'log_count/DEBUG': 2445,
'log_count/INFO': 2657,
'memusage/max': 154210304,
'memusage/startup': 127123456,
'playwright/context_count': 1,
'playwright/context_count/max_concurrent': 1,
'playwright/context_count/persistent/False': 1,
'playwright/context_count/remote/False': 1,
'playwright/page_count': 1,
'playwright/page_count/max_concurrent': 1,
'playwright/request_count': 133,
'playwright/request_count/aborted': 15,
'playwright/request_count/method/GET': 129,
'playwright/request_count/method/POST': 4,
'playwright/request_count/navigation': 2,
'playwright/request_count/resource_type/document': 2,
'playwright/request_count/resource_type/fetch': 1,
'playwright/request_count/resource_type/font': 16,
'playwright/request_count/resource_type/image': 29,
'playwright/request_count/resource_type/script': 79,
'playwright/request_count/resource_type/stylesheet': 1,
'playwright/request_count/resource_type/xhr': 5,
'playwright/response_count': 116,
'playwright/response_count/method/GET': 113,
'playwright/response_count/method/POST': 3,
'playwright/response_count/resource_type/document': 2,
'playwright/response_count/resource_type/fetch': 1,
'playwright/response_count/resource_type/font': 16,
'playwright/response_count/resource_type/image': 14,
'playwright/response_count/resource_type/script': 79,
'playwright/response_count/resource_type/stylesheet': 1,
'playwright/response_count/resource_type/xhr': 3,
'request_depth_max': 9,
'response_received_count': 10,
'scheduler/dequeued': 10,
'scheduler/dequeued/memory': 10,
'scheduler/enqueued': 10,
'scheduler/enqueued/memory': 10,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 9,
'scrapy-zyte-api/error_ratio': 0.0,
'scrapy-zyte-api/errors': 0,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 1.6853576261136267,
'scrapy-zyte-api/mean_response_seconds': 1.8004192278409998,
'scrapy-zyte-api/processed': 9,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 9,
'scrapy-zyte-api/request_args/experimental.responseCookies': 9,
'scrapy-zyte-api/request_args/httpRequestBody': 9,
'scrapy-zyte-api/request_args/httpRequestMethod': 9,
'scrapy-zyte-api/request_args/httpResponseBody': 9,
'scrapy-zyte-api/request_args/httpResponseHeaders': 9,
'scrapy-zyte-api/request_args/url': 9,
'scrapy-zyte-api/status_codes/200': 9,
'scrapy-zyte-api/success': 9,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 1, 29, 8, 0, 27, 424766, tzinfo=datetime.timezone.utc)}
2026-01-29 08:02:21 [scrapy.core.engine] INFO: Spider closed (finished)