GithubHelp home page GithubHelp logo

aishmittal / product-info-crawler Goto Github PK

View Code? Open in Web Editor NEW
17.0 5.0 13.0 397 KB

Product-Info-Crawler is a python web crawler developed using scrapy framework to crawl e-commerce websites for products matching search keyword.

License: MIT License

Python 100.00%
python-web-crawler scrapy flask-application web-crawler

product-info-crawler's Introduction

Product-Info-Crawler

platform platform

Product-Info-Crawler is a python web crawler developed using scrapy framework. It has four spiders for crawling the search results from olx.in, amazon.in, ebay.in and shopclues.com. The crawler extract the product names, price, image urls, product urls and source and stores them in a csv file named results.csv. It can be useful for comparing the price of a particular product between different e-commerce websites.

Installing Dependencies

Windows

  1. Install Python2.7 (Download from https://www.python.org/downloads/)
  2. Install pip (Follow instructions here https://pip.pypa.io/en/stable/installing/)
  3. Install scrapy using pip install scrapy
  4. Install flask using pip install flask

Linux

  1. Install pip using sudo apt-get install python-pip
  2. Install scrapy using sudo pip install scrapy
  3. Install flask using sudo pip install flask

Running Crawler

  1. Open command line
  2. Go to root directory i.e. Product-Info-Crawler
  3. Run python run_crawler.py
  4. Enter the search keyword (a product or brand name) in command line.
  5. See the crawling results in results.csv file

Running Demo

  1. Open Terminal
  2. Go to demo directory i.e. Product-Info-Crawler/demo
  3. Run python run.py
  4. Open http://127.0.0.1:5000/ in browser window
  5. Enter the search keyword and click search button
  6. The products found are displayed with images, price and source info

Thanks

Feel free to post issues if you find any problem or contact me Aishwarya Mittal
©MIT License

product-info-crawler's People

Contributors

aishmittal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.