Observed since 20 Oct, 17:23 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python package to scrape Flipkart product details
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.
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.
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}")
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.2 | 21 Oct 2024 | 2 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 17:23 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:dc25a62fafdf6e7be0c20ce953dcad799dd3899d112116d7ad81014098c0528d