Skip to content

Instantly share code, notes, and snippets.

View eliac7's full-sized avatar
🎯
Focused

Ilias Nikolaos Thalassochoritis eliac7

🎯
Focused
View GitHub Profile
@eliac7
eliac7 / plaisio.py
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 https://www.plaisio.gr/ 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 selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from webdriver_manager.chrome import ChromeDriverManager
CODES = [
# List of product codes to search for