Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sannjayy/python_flipkart_scraper
PYPI Library for Flipkart Data Scraper
https://github.com/sannjayy/python_flipkart_scraper
pypi-package
Last synced: 30 days ago
JSON representation
PYPI Library for Flipkart Data Scraper
- Host: GitHub
- URL: https://github.com/sannjayy/python_flipkart_scraper
- Owner: sannjayy
- License: mit
- Created: 2023-08-21T16:40:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-27T07:22:24.000Z (over 1 year ago)
- Last Synced: 2024-11-07T02:42:36.438Z (about 2 months ago)
- Topics: pypi-package
- Language: Python
- Homepage: https://pypi.org/project/python-flipkart-scraper/
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
README
## Scrap Data from Flipkart
Extract Product information from Flipkart.GitHub Repo: [https://github.com/sannjayy/python_flipkart_scraper](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 = FalseProduct 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']
```---
[![](https://img.shields.io/github/followers/sannjayy?style=social)](https://github.com/sannjayy)
Developed by *Sanjay Sikdar*.
- 📫 [email protected]