Skip to main content

This package allows you to scrap Gimbel Mexicana website and return product infos.

Project description

Pandas Bots - Python

Automation that saves time and money. Contact us now!

Implementations are for learning purposes only. As they may be less efficient than the implementations in the Python standard library, use them at your discretion.

DISCLAIMER

This package requires selenium. For that reason it will may not work if you are using Google Colab or similar.

Project Gimbel Mexicana

Description:

User will input the website URL and the program will return:

  • Excel file containing product info.

  • PDF file containg product instructions.

  • JSON file with:

  1. name: The name of the product
  2. code: The SKU of the product (codigo)
  3. Image: The src url of the images of the product
  4. Details: The details of the product (separating each in JSON format)
  5. Info: The "more info" of the product (separating each in JSON format)
  6. Brand: The brand name

Installing

pip install gimbel

Usage

>>> from gimbel import gimbel_scraper
>>> URL = "https://gimbelmexicana.com/gimbel/store/articulo/16680"
>>> data = gimbel_scraper.get_product_info(URL)
>>> print(data)

Return

{'Brand': 'GIM SPORTS', 'Code': 'Código: 15GIMNAS419CH', 'Name': 'BALON PARA CROSSFIT 2KG', 'Details': 'ÿþBalón medicinal para CROSSFIT\n\nCaracterísticas:\n" Fabricada de caucho resistente con relleno de arena.\n* Superficie con textura que evita derrape\n" No rebota\n" Perfecta para complementar los ejercicios de fuerza y resistencia en los músculos.\n" Entre los principales músculos trabajados encontramos glúteos/ cuádriceps/ isquiotibiales/ hombros y de forma secundaria/ abdominales\ny demás músculos de zona media del cuerpo que se contraen para conservar una correcta postura durante el movimiento.\n" Marca \x1c GIM\x1d', 'Info': '{"C\\u00f3digo":{"0":null,"1":"15GIMNAS419CH"},"Peso":{"0":null,"1":"2 kg"},"Color":{"0":null,"1":"Azul"}}', 'Image': ['https://gimbelmexicana.com/gimbel/img/products_images/thumb/15GIMNAS419CH_1.jpg', 'https://gimbelmexicana.com/gimbel/img/products_images/thumb/15GIMNAS419CH.jpg']}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandasbots-gimbel-1.6.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandasbots_gimbel-1.6.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pandasbots-gimbel-1.6.3.tar.gz.

File metadata

  • Download URL: pandasbots-gimbel-1.6.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for pandasbots-gimbel-1.6.3.tar.gz
Algorithm Hash digest
SHA256 47cee6f308607a371d9635f409ccad2f50c5cfd76a1148b03c7cba80ef31331c
MD5 5d65d88c85389755c42ec18c2cfbaee7
BLAKE2b-256 f4bb7e18fcd1805b1496376f31c391dc907c7c7009feafc39943b7315ce940ef

See more details on using hashes here.

File details

Details for the file pandasbots_gimbel-1.6.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pandasbots_gimbel-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2462c25962deab2f62bd45ec225543427740102460aca85872012c4ba524428c
MD5 056446dd5ca75a63e9c554c8f4b6e949
BLAKE2b-256 ccb518a4b535a37860f0aaecf721c0f80b03ce09d000a2b9157a0b2139e2c909

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page