Giter Site home page Giter Site logo

amazon-scraper's Introduction

Amazon Scraper

This is a amazon scraper build using selenium it can scrape product data from the website and write it to a csv file i have used selenium because it resembles a bit like human and it is a advanced testing frameworks which offers many advantages for scraping and i also used beautiful soup to extract data from the scraped data

Project Setup

1.The code is same for both windows and linux you need to install seperate chromedriver for seperate environments you can install chromedriver at https://chromedriver.chromium.org/downloads The chromedriver file should be placed at root folder
2.setup a python environment using the command python -m venv myenv
3.activate the python virtual environment for windows myenv/Scripts/activate.ps1 and for linux source myenv/bin/activate
4.install the python modules in the python virtual environment using the command pip install -r requirements.txt

Usage

  1. simply run the project in windows python amazon_scraper.py and in linux python3 amazon_scraper.py 1.To run project in windows run the command python amazon_scraper.py 2.To run the project in linux run the command python3 amazon_scraper.py

Project Working

1.When you first run the project the selenium will scrape the product and write each product source code into html fiels in the products directory
2.In the next step the data is extracted from the html files and written to output.csv file

Project Files

1.amazon-scraper.py is the main python file which scrapes and writes data to the csv files
2.requirements.txt is the file which contains all the modules required by the project to function without errors
3.automate.bat is used to push code to github in windows
4.automate.sh is used to push code to github in linux

Project Working Video

https://drive.google.com/file/d/1xS28dAszifytomf69G2MfKjBfMia_it8/view?usp=sharing

Contributing

This project loves to accept contributions from everyone

Technologies Used

  • HTML
  • CSS
  • JavaScript

๐Ÿ”— Links

portfolio linkedin twitter

Authors

Support

For support, you can buy me a coffee

Buy Me A Coffee

License

This project license is MIT LICENSE

amazon-scraper's People

Contributors

kanugurajesh avatar rajeshkanugu avatar

Stargazers

 avatar  avatar  avatar  avatar Shivaraj Gathadi avatar  avatar  avatar  avatar  avatar RACHAMADUGU YASHWANTH KUMAR avatar Madishetty abishek avatar Saigurucharan Kambhampati avatar  avatar

Watchers

 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.