This Python-based web scraper extracts product data from the official STIHL Brazil web store using Selenium. The scraper collects:
- Product title
- Price (formatted for Brazilian locale)
- Description
- Technical specifications (as a dictionary)
- Image URLs
- Product page URL
- Navigates the product catalog by simulating "Load More" interactions
- Extracts structured data per product page
- Exports output as both CSV and JSON
- Headless mode for automated execution
all_products.json
— Machine-readable data formatall_products.csv
— Human-readable spreadsheet format
- Ensure you have ChromeDriver installed and accessible via
CHROMEDRIVER_PATH
. - Install dependencies:
pip install selenium