Skip to content

Latest commit

 

History

History
68 lines (34 loc) · 3.5 KB

File metadata and controls

68 lines (34 loc) · 3.5 KB

Scraping-the-Web-for-Cricket-Info-using-NodeJS

Scraping a cricket website for some quick results and statistics just for testing purpose.

NOTE: THIS WORK IS DONE FOR JUST TESTING PURPOSES IN ORDER TO EXPERIMENT THE TOOLS AND TECHNIQUES USED IN NODEJS FOR WEB SCRAPING. THERE IS NO BUSINESS GOING ON WITH THIS WORK. THE WEBSITE USED FOR THIS TESTING WORK IS ESPNCRICINFO (https://www.espncricinfo.com/) AND I GIVE THE CREDIT TO THEM FOR THEIR HTML DATA.

  1. Last Ball Commentary:

https://www.espncricinfo.com/series/19322/commentary/1187677/new-zealand-vs-india-1st-t20i-india-in-new-zealand-2019-20

Actual webpage screenshot(s): Screenshot from 2020-05-30 03-30-52

Scraped and Extracted Data in Terminal: Screenshot from 2020-05-30 03-28-50

Screenshot from 2020-05-30 03-29-07

  1. Highest Wicket Taker:

https://www.espncricinfo.com/series/19322/scorecard/1187677/new-zealand-vs-india-1st-t20i-india-in-new-zealand-2019-20

Actual webpage screenshot(s): Screenshot from 2020-05-30 17-39-19

Screenshot from 2020-05-30 17-39-23

Scraped and Extracted Data in Terminal: Screenshot from 2020-05-30 13-27-15

  1. Total Runs Scored by each player in Complete Series including all matches of T20I and ODI, and excluding all Test and Practice Matches:

https://www.espncricinfo.com/series/19322/scorecard/1187677/new-zealand-vs-india-1st-t20i-india-in-new-zealand-2019-20

One of the Sample Match Webpage Screenshot(s): Screenshot from 2020-05-30 17-43-37

Screenshot from 2020-05-30 17-43-43

Extracted Data (PlayerName, TeamName, Format, Runs) Sample: Screenshot from 2020-05-30 15-33-05

Complete table formed from all ODIs and T20Is matches batsman data: Screenshot from 2020-05-30 17-15-34

Screenshot from 2020-05-30 17-15-55

Screenshot from 2020-05-30 17-16-22

Screenshot from 2020-05-30 17-16-32

Filtered and Sorted Data(Decreasing order based on Runs): Screenshot from 2020-05-30 17-17-11

Screenshot from 2020-05-30 17-17-27

Credits: ESPNcricinfo (https://www.espncricinfo.com/)