Skip to content

Scrapper for the web page of mercadona. It downloads all current products into a csv file

Notifications You must be signed in to change notification settings

nicolaspascual/mercadona-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mercadona Scrapper

Repository that using selenium web driver downloads all catalogue of products from mercadona website including price, name and link to the product.

Running the code

In order to start the scrapper you need to enter your credentials of mercadona in /conf/credentials.py and run the main file. This will generate a csv file with the products.

Results

The results will look as follows:

title link price
ABADEJO ALASKA CONGELADO FILETE (SIN PIEL), MASCATO, PAQUETE 850 G PESO NETO ESCURRIDO https://www.telecompra.mercadona.es/detall_producte.php?id=62180 4.95
ABRILLANTADOR LAVAVAJILLAS, , BOTELLA 750 CC https://www.telecompra.mercadona.es/detall_producte.php?id=42306 1.25
ABRILLANTADOR LAVAVAJILLAS, FINISH CALGONIT, BOTELLA 500 CC https://www.telecompra.mercadona.es/detall_producte.php?id=42301 4.45
............
ABRILLANTADOR SUELO, BOSQUE VERDE, BOTELLA 1 L https://www.telecompra.mercadona.es/detall_producte.php?id=43375 2.05
ACEITE ANTIOXIDANTE MULTIUSOS SPRAY, BOSQUE VERDE, BOTE 200 CC https://www.telecompra.mercadona.es/detall_producte.php?id=90404 1.95

Dependencies

The file uses pipenv to manage the dependencies, all dependencies can be found in /Pipfile

              (
               )
              (
        /\  .-"""-.  /\
       //\\/  ,,,  \//\\
       |/\| ,;;;;;, |/\|
       //\\\;-"""-;///\\
      //  \/   .   \/  \\
     (| ,-_| \ | / |_-, |)
       //`__\.-.-./__`\\
      // /.-(() ())-.\ \\
     (\ |)   '---'   (| /)
      ` (|           |) `
        \)           (/

About

Scrapper for the web page of mercadona. It downloads all current products into a csv file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages