Head
2026-01-28 07:00:40 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-01-28 07:00:40 [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-28 07:00:40 [ayvens.fr] INFO: Starting spider ayvens.fr
2026-01-28 07:00:40 [scrapy.addons] INFO: Enabled addons:
[]
2026-01-28 07:00:40 [asyncio] DEBUG: Using selector: EpollSelector
2026-01-28 07:00:40 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-01-28 07:00:40 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-01-28 07:00:40 [scrapy.extensions.telnet] INFO: Telnet Password: 43db227d0dcb6200
2026-01-28 07:00:40 [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-28 07:00:40 [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-28T07_00_02.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-28 07:00:40 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-28 07:00:40 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-28 07:00:40 [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-28 07:00:40 [crawlers.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware
2026-01-28 07:00:40 [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-28 07:00:40 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-28 07:00:40 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-28 07:00:41 [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-28 07:00:41 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-01-28 07:00:41 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-01-28 07:00:41 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 07:00:41 [crawlers.pipelines.translation_pipeline] INFO: Loading translations for language: en
2026-01-28 07:00:41 [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-28 07:00:41 [crawlers.pipelines.item_rules_pipeline] INFO: Setting up ItemRules Pipeline
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: low_mileage_for_country.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_mileage.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: invalid_location_for_country.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: damaged_cars_from_auction_title.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: puretech_for_country.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: puretech_for_fr.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: missing_photos.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: damaged_from_info.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: makes_not_allowed.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: not_operable_from_info.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: cars_too_new_for_country.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_price_for_currency.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: makes_models_not_allowed.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: keywords_from_title.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: imported_cars.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: invalid_currency.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_mileage_for_country.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: missing_mileage.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: keywords_from_auction_title.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: invalid_country_of_origin.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: puretech_for_pt.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: electric_cars.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: registration_date_old.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: high_mileage_for_make.json
2026-01-28 07:00:41 [crawlers.filter_rules.rules_loader] INFO: Loaded rule: missing_color.json
2026-01-28 07:00:41 [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-28 07:00:41 [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-28 07:00:41 [scrapy.core.engine] INFO: Spider opened
2026-01-28 07:00:41 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-01-28 07:00:41 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6030
2026-01-28 07:00:41 [scrapy-playwright] INFO: Starting download handler
2026-01-28 07:00:41 [scrapy-playwright] INFO: Starting download handler
Tail
'color': 'gris platinium',
'currency': 'eur',
'current_year_diff': 3,
'doors_number': 5,
'engine': '0.1l',
'expiration_date': '2026-01-28t16:00:00z',
'fuel_type': 'petrol',
'id': 'bbc1bd61-226d-5261-8cda-ccf37ee2d194',
'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/39077',
'listing': 'auction',
'location': None,
'make': 'peugeot',
'make_model': 'peugeot 2008',
'model': '2008',
'odometer': 171380,
'odometer_in_km': 171380,
'odometer_reading_unit': 'km',
'origin_country_code': 'fr',
'original_photo_count': 0,
'price': 0,
'price_includes_vat': False,
'registration_date': '2023-05-16',
'sanitized_make': 'peugeot',
'seats_number': 5,
'seller_name': None,
'title': 'peugeot 2008 2008 1.2 puretech 130ch s&s allure eat8',
'transmission': 'automatic',
'trim': '2008 1.2 puretech 130ch s&s allure eat8',
'vin': None,
'year': 2023}
2026-01-28 07:15:51 [crawlers.pipelines.item_rules_pipeline] INFO: rule_title: PURETECH_FOR_COUNTRY failed for item: bbc1bd61-226d-5261-8cda-ccf37ee2d194 spider: ayvens.fr
2026-01-28 07:15:51 [scrapy.core.scraper] INFO: Dropped: Spider: ayvens.fr, Dropping listing: bbc1bd61-226d-5261-8cda-ccf37ee2d194 due to rule: puretech_for_country.json, error: False schema does not allow {'auction_title': '', 'is_operable': True, 'is_damaged': False, 'color': 'gris platinium', 'original_photo_count': 0, 'seller_name': None, 'price_includes_vat': False, 'make': 'peugeot', 'model': '2008', 'trim': '2008 1.2 puretech 130ch s&s allure eat8', 'title': 'peugeot 2008 2008 1.2 puretech 130ch s&s allure eat8', 'price': 0, 'odometer': 171380, 'odometer_reading_unit': 'km', 'registration_date': '2023-05-16', 'year': 2023, 'fuel_type': 'petrol', 'listing': 'auction', 'link_to_web_offer': 'https://carmarket.ayvens.com/en-gb/sales/39077', 'expiration_date': '2026-01-28t16: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': 134, 'origin_country_code': 'fr', 'transmission': 'automatic', 'location': None, 'currency': 'eur', 'id': 'bbc1bd61-226d-5261-8cda-ccf37ee2d194', 'current_year_diff': 3, 'age_in_months': 32, 'make_model': 'peugeot 2008', 'sanitized_make': 'peugeot', 'odometer_in_km': 171380}
Failed validating None in schema:
False
On instance:
{'age_in_months': 32,
'auction_title': '',
'c_o_2_emission_value': 134,
'color': 'gris platinium',
'currency': 'eur',
'current_year_diff': 3,
'doors_number': 5,
'engine': '0.1l',
'expiration_date': '2026-01-28t16:00:00z',
'fuel_type': 'petrol',
'id': 'bbc1bd61-226d-5261-8cda-ccf37ee2d194',
'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/39077',
'listing': 'auction',
'location': None,
'make': 'peugeot',
'make_model': 'peugeot 2008',
'model': '2008',
'odometer': 171380,
'odometer_in_km': 171380,
'odometer_reading_unit': 'km',
'origin_country_code': 'fr',
'original_photo_count': 0,
'price': 0,
'price_includes_vat': False,
'registration_date': '2023-05-16',
'sanitized_make': 'peugeot',
'seats_number': 5,
'seller_name': None,
'title': 'peugeot 2008 2008 1.2 puretech 130ch s&s allure eat8',
'transmission': 'automatic',
'trim': '2008 1.2 puretech 130ch s&s allure eat8',
'vin': None,
'year': 2023}
{'auction_title': '',
'c_o_2_emission_value': 134,
'color': 'GRIS PLATINIUM',
'currency': 'EUR',
'doors_number': 5,
'engine': '0.1L',
'expiration_date': '2026-01-28T16:00:00Z',
'fuel_type': 'petrol',
'id': 'bbc1bd61-226d-5261-8cda-ccf37ee2d194',
'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/39077',
'listing': 'auction',
'location': None,
'make': 'PEUGEOT',
'model': '2008',
'odometer': 171380,
'odometer_reading_unit': 'km',
'origin_country_code': 'FR',
'original_photo_count': 0,
'price': 0,
'price_includes_vat': False,
'registration_date': '2023-05-16',
'seats_number': 5,
'seller_name': None,
'title': 'PEUGEOT 2008 2008 1.2 PureTech 130ch S&S Allure EAT8',
'transmission': 'automatic',
'trim': '2008 1.2 PureTech 130ch S&S Allure EAT8',
'vin': None,
'year': 2023}
2026-01-28 07:15:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 07:15:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27ayvens.fr%27%20and%20RowKey%20eq%20%271873003%27 HTTP/1.1" 200 None
2026-01-28 07:15:51 [ayvens.fr] INFO: Saving data for 1873003: {'auction_closing_time': 1769616000.0, 'created_time': 1769459909.151621, 'last_price_update_time': 1769584551.516222}
2026-01-28 07:15:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 07:15:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='ayvens.fr',RowKey='1873003') HTTP/1.1" 204 0
2026-01-28 07:15:51 [ayvens.fr] INFO: Fetching listings with token: 3b2cc62fd26c4e29a762db3de181266b and skip: 900
2026-01-28 07:15:51 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 07:15:53 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://api.aldcarmarket.com/graphql/saleevents> (referer: https://carmarket.ayvens.com/) ['zyte-api']
2026-01-28 07:15:53 [scrapy.core.engine] INFO: Closing spider (finished)
2026-01-28 07:15:53 [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>: 7, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-01-28 07:15:54 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 07:15:54 [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%201769152554 HTTP/1.1" 200 None
2026-01-28 07:15:54 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (71 items) in: file:///var/lib/scrapyd/items/sourcing_v2/ayvens.fr/task_73_2026-01-28T07_00_02.jl
2026-01-28 07:15:54 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 16314,
'downloader/request_count': 11,
'downloader/request_method_count/GET': 1,
'downloader/request_method_count/POST': 10,
'downloader/response_bytes': 1825232,
'downloader/response_count': 11,
'downloader/response_status_count/200': 11,
'elapsed_time_seconds': 912.745639,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 1, 28, 7, 15, 54, 254269, tzinfo=datetime.timezone.utc),
'item_dropped_count': 235,
'item_dropped_reasons_count/DropItem': 235,
'item_scraped_count': 71,
'log_count/DEBUG': 3517,
'log_count/INFO': 5072,
'memusage/max': 154648576,
'memusage/startup': 127119360,
'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': 134,
'playwright/request_count/aborted': 15,
'playwright/request_count/method/GET': 130,
'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': 31,
'playwright/request_count/resource_type/script': 79,
'playwright/request_count/resource_type/stylesheet': 1,
'playwright/request_count/resource_type/xhr': 4,
'playwright/response_count': 115,
'playwright/response_count/method/GET': 112,
'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': 78,
'playwright/response_count/resource_type/stylesheet': 1,
'playwright/response_count/resource_type/xhr': 3,
'request_depth_max': 10,
'response_received_count': 11,
'scheduler/dequeued': 11,
'scheduler/dequeued/memory': 11,
'scheduler/enqueued': 11,
'scheduler/enqueued/memory': 11,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 14,
'scrapy-zyte-api/error_ratio': 0.2857142857142857,
'scrapy-zyte-api/errors': 4,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 4,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 20.596237580291923,
'scrapy-zyte-api/mean_response_seconds': 20.70239371750504,
'scrapy-zyte-api/processed': 10,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 10,
'scrapy-zyte-api/request_args/experimental.responseCookies': 10,
'scrapy-zyte-api/request_args/httpRequestBody': 10,
'scrapy-zyte-api/request_args/httpRequestMethod': 10,
'scrapy-zyte-api/request_args/httpResponseBody': 10,
'scrapy-zyte-api/request_args/httpResponseHeaders': 10,
'scrapy-zyte-api/request_args/url': 10,
'scrapy-zyte-api/status_codes/0': 4,
'scrapy-zyte-api/status_codes/200': 10,
'scrapy-zyte-api/success': 10,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 1, 28, 7, 0, 41, 508630, tzinfo=datetime.timezone.utc)}
2026-01-28 07:15:54 [scrapy.core.engine] INFO: Spider closed (finished)