Git Product home page Git Product logo

livescore's Introduction

Live Score 🔔

Uptime Robot status dependencies Status devDependencies Status

A Simple Scrape Method to Fetch the Live Cricket Score from espncricinfo.com

Methods Used ⚙

  • Cheerio.js for scrape the content
  • axios - HTTP Client
  • Bundle the Package using browserify.JS
  • Babel - Minify the Bundled JS
  • Node http-server - Test the Site Locally

CORS API 🍔

By default espncricinfo Blocking the Cross-origin Request so we use https://cors-anywhere.herokuapp.com to Bypass the CORS Blocking but cors-anywhere Limited the Call request yes we can call only 200 request Hour (200 Request for 1 Hour) if you want More then Self-host the cors-anywhere API Script it's Open Source For More Refer here - https://github.com/Rob--W/cors-anywhere#demo-server

➡ PHP API Method - https://github.com/mskian/iplscore
➡ Telegram Score Updates on Channel - https://github.com/mskian/score-update

usage 📦

  • Clone or Download and Upload the public Folder on your server or localhost
git clone https://github.com/mskian/livescore.git
cd livscore # Update JS File
## Open Public folder to update the static content
cd public

Still Many Features are Missing I will Updating one by one based on user Suggestion - if you have any ideas your PR's are welcome.

Development 🛠

  • Clone this respo and install the Modules via yarn
git clone https://github.com/mskian/livescore.git
cd livescore
yarn
yarn build
  • Test the site on local server
yarn live
  • Minify the JS Build
yarn minify

To Do List 🔖

  • Live Auto Refresh - Auto Refresh the Score Every 1 Minutes -
    setInterval(Getscore, 60 * 1000);

For Education and Learning Purpose only ✍

We are not Responsible for any future damage use at your own risk.if you want to use this on Production Read the ESPNcricinfo Terms and use.

LICENSE ☑

MIT

livescore's People

Contributors

dependabot[bot] avatar mskian avatar

Stargazers

 avatar

Watchers

 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.