https://github.com/vgvr0/supermarket-mercadona-scraper
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.
https://github.com/vgvr0/supermarket-mercadona-scraper
beautifulsoup chromedriver mercadona mercadona-scraper mercadona-scraping python-scraping selenium
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/vgvr0/supermarket-mercadona-scraper
- Owner: vgvr0
- Created: 2024-05-04T16:26:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-21T08:36:35.000Z (7 months ago)
- Last Synced: 2025-03-26T23:11:16.315Z (about 2 months ago)
- Topics: beautifulsoup, chromedriver, mercadona, mercadona-scraper, mercadona-scraping, python-scraping, selenium
- Language: Jupyter Notebook
- Homepage:
- Size: 42 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Supermarket-Mercadona-Scraper

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











## 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:
```python
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
)
```