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
- GitHub: https://github.com/PandasBots/pandasbots-gimbel
- Ref.: https://gimbelmexicana.com/
- Author: Rafael Klanfer Nunes
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:
- name: The name of the product
- code: The SKU of the product (codigo)
- Image: The src url of the images of the product
- Details: The details of the product (separating each in JSON format)
- Info: The "more info" of the product (separating each in JSON format)
- 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']}
Metadata
Release files for pandasbots-gimbel 1.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pandasbots-gimbel-1.6.3.tar.gz | 5.6 kB | Without provenance | Details for pandasbots-gimbel-1.6.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pandasbots_gimbel-1.6.3-py3-none-any.whl | Python 3 | none | any | Details for pandasbots_gimbel-1.6.3-py3-none-any.whl |
Total release size: 11.7 kB
Release files / pandasbots-gimbel-1.6.3.tar.gz
| Download URL | pandasbots-gimbel-1.6.3.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47cee6f308607a371d9635f409ccad2f50c5cfd76a1148b03c7cba80ef31331c
|
|
BLAKE2b-256 checksum How to use checksums |
f4bb7e18fcd1805b1496376f31c391dc907c7c7009feafc39943b7315ce940ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / pandasbots_gimbel-1.6.3-py3-none-any.whl
| Download URL | pandasbots_gimbel-1.6.3-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2462c25962deab2f62bd45ec225543427740102460aca85872012c4ba524428c
|
|
BLAKE2b-256 checksum How to use checksums |
ccb518a4b535a37860f0aaecf721c0f80b03ce09d000a2b9157a0b2139e2c909
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for pandasbots-gimbel 1.6.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.