Skip to main content

Flipkart Scraper

A Python package to scrape product details such as price, title, rating, and other information from Flipkart.com. This package offers both an all-in-one method for retrieving all product details at once and separate methods for retrieving specific product details.

Features

  • Get product title
  • Get product price
  • Get product rating
  • Get all product details at once

Installation

You can install the abhi-flipkart package using pip:

pip install abhi-flipkart

Requirements Make sure you have the following packages installed:

requests beautifulsoup4 These will be automatically installed with the package.

Usage

from flipkart import FlipkartScraper

# Provide the product URL
product_url = 'https://www.flipkart.com/samsung-galaxy-s23-fe-purple-256-gb/p/itm8f6a49271bf21?pid=MOBGVTA2VGHCJFGG&lid=LSTMOBGVTA2VGHCJFGG1TC2LI&marketplace=FLIPKART&store=tyy%2F4io&srno=b_1_1&otracker=CLP_BannerX3&fm=organic&iid=en_Xqy_OHyrcQALLToVeCOiYi6XfZ1TBn8U_wcElBhYNuR7OzG-guKfCEmcxu3dm4paf1YFLsimTplvCE6DlbZbrvUFjCTyOHoHZs-Z5_PS_w0%3D&ppt=clp&ppn=mobile-phones-store&ssid=stxkg1hx740000001729468470030'

# Create a scraper instance
scraper = FlipkartScraper(product_url)

# Get individual details
title = scraper.get_title()
price = scraper.get_price()
rating = scraper.get_rating()

# Get all details at once
details = scraper.get_all_details()

print(f"Title: {title}")
print(f"Price: {price}")
print(f"Rating: {rating}")
print(f"Details: {details}")

License

Metadata

Release files for abhi-scraper 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abhi-scraper 1.0.0
File Size Uploaded Provenance
abhi_scraper-1.0.0.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for abhi-scraper 1.0.0
File Interpreter ABI Platform
abhi_scraper-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / abhi_scraper-1.0.0.tar.gz

Download URL abhi_scraper-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b4cd6d69fc67ad2b112fcb39bee8e2ff9780a804d6ef4f9cc33c6dda3c868565
BLAKE2b-256 checksum
How to use checksums
8e84503d63c1134b9aab666f4a0ff719214689f84d6b0734146168905e741aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / abhi_scraper-1.0.0-py3-none-any.whl

Download URL abhi_scraper-1.0.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b89cc82acbc044048a1b8fb2e2afab6969ca1be965f637c451fa84aba5a7dcf3
BLAKE2b-256 checksum
How to use checksums
350cf3cdc49df14e398beae4f8c944bbfb0eee6b51f3f8bf84348fbd8b011f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for abhi-scraper 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page