Coder Social home page Coder Social logo

mehradevesh2022 / espin-scrapper Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 517 KB

The CricketBuzz Website Scraper is a Node.js project that allows you to scrape data from the CricketBuzz website using the Cheerio library for web scraping. The project also uses the Path and File System modules to save the scraped data to a file, and the Request module to fetch the HTML content of the website.

Home Page: https://github.com/MehraDevesh2022/Espin-Scrapper/tree/master

JavaScript 9.06% HTML 90.94%
cheerio-js cricbuzz fs-module javascript nodejs path-module requests-module scrapper-script

espin-scrapper's Introduction

cricketbuzz Website Scraper for IPL Player Data

Introduction

The cricketbuzz Website Scraper is a Node.js application designed to fetch cricket player data for IPL teams from the cricketbuzz website. It organizes the data into categories such as winning teams, players, and highest performers. The fetched data is then stored in a directory and exported to an Excel file using the xlsx library.

Used Libraries -

  • Cheerio - For scraping the website and fetching the data.

  • Xlsx - For exporting the data to an Excel file.
  • Request - For making HTTP requests to the website.

Installation

  • Clone the repository :

    git clone https://github.com/MehraDevesh2022/Espin-Scrapper.git 
  • Install the dependencies :

     ```bash
     npm install
     ```
    
  • Run the application :

     ```bash
    node app.js
     ```
    

Usage

  • Open the main.js file.
  • Replace the value of url variable with the URL of the web page you want to scrape.
  • Replace the selectors inside the cheerio.load function to select the desired data from the web page.
  • Run node app.js in the terminal to start the scraping process.
  • The scraped data will be saved in the output folder with the filename cricketbuzz.txt.

espin-scrapper's People

Contributors

imgbotapp avatar mehradevesh2022 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

jitenagarwal20

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.