Git Product home page Git Product logo

marcus_scrapper's Introduction

Start Here

Installing Needed Packages This particular web scrapy is been powered by "scrapy", an open-source web crawling framework To implement this web scrapper install it into your environment by using the command below

   pip install scrapy

To Scrap the Specific Pages Following web scraping best practices, different spiders have been created to meet the needs of different categories with regards the peculiarities of their web pages and pagination of each category...

The scrapper was used on an online store to scrape prices

Example Tutorial to scrape information from the boots category

1.cd into the project(Getting into the file location of the marcus scrapper in your terminal)

  1. run "scrapy crawl marcus_boots" in the terminal, to crawl through the specified category in
    the spider

  2. And also to output in json run "scrapy crawl marcus_boots -o boots.json" Or for csv format run "scrapy crawl marcus_boots -o boots.csv"

P.S. run "scrapy crawl YOUR_SPECIFIED_CATEGORY"

The data that will be crawled includes 1.shoeType(e.g boots) 2.shoeBrand 3.shoeName 4.price(Original price of shoe) 5.salePrice(Discounted price of some specific shoes)

30th of July, 2020 update 2 new files have been added to the project for review(The data scraped by marcus_boots.py was used as an example(boots.csv)) format.py The first is the format.py to format whatever out we get from the crawler (the result is an output.csv file)

Final_Format.ipynb This converts the formatted file into a table that can be used for analysis An example is already showed in the "Final_Format" notebook

marcus_scrapper's People

Contributors

victorojewale avatar

Watchers

James Cloos 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.