Catalog PyPI
PACKAGE EXPLORERView in registry

abhi-scraper

PyPI

A Python package to scrape Flipkart product details

Versions collected1
Direct dependencies2From release 1.0.0
Last observed20 Oct, 17:23 UTC

README

Version 1.0.0 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.021 Oct 20242

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
your-github/flipkart_scraper

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:23 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:dd5268ac15ea8ea79b4a151721e5083b56fe396756a5dcf862cca323bad3be61