Skip to content

Flipkart web scraper using Scrapy module in python to extract the name, price, highlight, detail specification, rating, and images of the gaming laptop.

License

Notifications You must be signed in to change notification settings

yash0307jain/flipkart-web-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flipkart web scraper

This is Flipkart Product Web Scraper build using scrapy module of python

Features

It extracts the following:

  • Product Name
  • Product Price
  • Product highlights
  • Product Specifications in detail
  • Product Rating
  • Product Url

Execute Flipkart scraper

For Windows users

run.bat

For Linux or Mac users

sh ./run.sh

Or can run the following command

scrapy crawl amazon_scraper -o ./data/data.json

It will create data.json file inside the data folder containing all the scraped data in JSON format and all the images will be saved in data/img/full folder.

Sample Data

Already fetched sample data is available in data folder

Troubleshooting

If data.json file doesn't generate in proper format then just delete data.json file and img folder.
Now you good to go ;)

Preresuisites

  • you have to install scrapy
  • you have to install pillow

Small example in Beautiful Soup - bs4

It is extracting only gaming laptop details into a laptop_data_.csv file

[MIT]

About

Flipkart web scraper using Scrapy module in python to extract the name, price, highlight, detail specification, rating, and images of the gaming laptop.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages