From 2b21cd176c1100baf4042ffa2623ef6ddb2b6eaf Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Tue, 2 Dec 2025 09:28:08 +0100 Subject: [PATCH] feat: add `TrackingScraperService` for Playwright-based web scraping with popup handling and smart scrolling capabilities. --- app/services/tracking_scraper_service.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/services/tracking_scraper_service.py b/app/services/tracking_scraper_service.py index 520428c..f2926e1 100644 --- a/app/services/tracking_scraper_service.py +++ b/app/services/tracking_scraper_service.py @@ -20,6 +20,12 @@ POPUP_SELECTORS = [ "input[aria-labelledby='sp-cc-accept-label']", "#nav-flyout-prime button", # Prime flyout + # Amazon Interstitials (Soft blocks) + "button:has-text('Continuer les achats')", + "input[value='Continuer les achats']", + "span.a-button-inner > input.a-button-input[type='submit']", + "[aria-labelledby='continue-shopping-label']", + # French RGPD/Cookie consent platforms "#axeptio_btn_acceptAll", # Axeptio "#axeptio_main_button",