Skip to content

Instantly share code, notes, and snippets.

View eliac7's full-sized avatar

Ilias Nikolaos Thalassochoritis eliac7

View GitHub Profile
eliac7 /
Created May 23, 2023 19:44
Python script for scraping product data from a website using Selenium WebDriver. It automates the search process for a list of product codes on and saves the results in a CSV file. The script utilizes Chrome WebDriver and includes error handling for cases where no search results are found. The code is organized into funct…
import csv
from selenium import webdriver
from import By
from selenium.webdriver.common.keys import Keys
from import WebDriverWait
from import expected_conditions as EC
from import ChromeDriverManager
# List of product codes to search for