Scrap Data from Flipkart
Extract Product information from Flipkart.
GitHub Repo: https://github.com/sannjayy/python_flipkart_scraper
Installaion
Do the following in your virtualenv:
pip install python_flipkart_scraper
Import:
from python_flipkart_scraper import ExtractFlipkart
Minimal Code Example:
from python_flipkart_scraper import ExtractFlipkart
url = 'FLIPKART PRODUCT URL'
product = ExtractFlipkart(url)
print("Product Title = ", product.get_title())
print("Product Price = ", product.get_price())
print("Availability = ", product.is_available())
print("Product Images = ", product.get_images())
DEMO OUTPUT:
Product Title = APPLE iPhone 7 (Rose Gold, 128 GB)
Product Price = 34900
Availability = False
Product Images = ['https://rukminim2.flixcart.com/image/500/500/k12go7k0/mobile/e/y/z/apple-iphone-7-mn952hn-a-original-imafkqe8ptsnpd6m.jpeg?q=100', 'https://rukminim2.flixcart.com/image/500/500/k12go7k0/mobile/e/y/z/apple-iphone-7-mn952hn-a-original-imafkqe8f9ghcfsh.jpeg?q=100', 'https://rukminim2.flixcart.com/image/500/500/k12go7k0/mobile/e/y/z/apple-iphone-7-mn952hn-a-original-imafkqe8ywuhzqyc.jpeg?q=100', 'https://rukminim2.flixcart.com/image/500/500/k12go7k0/mobile/e/y/z/apple-iphone-7-mn952hn-a-original-imafkqe8ujhbszhf.jpeg?q=100']
Metadata
Release files for python-flipkart-scraper 1.1.1
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 |
|---|---|---|---|---|
| python_flipkart_scraper-1.1.1.tar.gz | 4.1 kB | Without provenance | Details for python_flipkart_scraper-1.1.1.tar.gz |
Release files / python_flipkart_scraper-1.1.1.tar.gz
| Download URL | python_flipkart_scraper-1.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d4769d79eb1505458889a630abf0fe12b86b605e53f559afbea5d9f0d3b54fc
|
|
BLAKE2b-256 checksum How to use checksums |
c5d88ea7fb008504e3d9dc09c9d6c88e6b31ca65cad0b04d276460e945d88dee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for python-flipkart-scraper 1.1.1
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.