Skip to content

Supermarket-Mercadona-Scraper is an efficient and user-friendly tool that automatically scrapes and organizes product data from the Mercadona website, enabling you to analyze and compare product prices and features in real-time.

Notifications You must be signed in to change notification settings

vgvr0/supermarket-mercadona-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Supermarket-Mercadona-Scraper

Mercadona Cover

Supermarket-Mercadona-Scraper is a Python-based web scraper designed to extract and organize product data from the Mercadona supermarket website.

OS

Regex CSV Time Random SQLite Keyboard Funciones Aux Datetime BeautifulSoup SeleniumBase Selenium

Features

  • Automated browsing through product categories and subcategories.
  • Extraction of product details including name, image, and price.
  • Utilizes Selenium WebDriver for dynamic page interaction.

Usage

The main script is contained in the file scraper.py. Here's a basic usage example:

from scraper import Driver
from datetime import datetime
import time
import random
from bs4 import BeautifulSoup

# Initialize the driver
driver = Driver(
    browser="chrome",
    uc=True,
    headless2=False,
    incognito=False,
    agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36',
    do_not_track=True,
    undetectable=True
)

About

Supermarket-Mercadona-Scraper is an efficient and user-friendly tool that automatically scrapes and organizes product data from the Mercadona website, enabling you to analyze and compare product prices and features in real-time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published