/nhl_scrape

A simple scraper for nhl.com game summaries

Primary LanguagePythonMIT LicenseMIT

Synopsis

This is a simple web scraper designed to collect game data from nhl.com game summaries and output it to an excel file.

Code Example

Run the file and a prompt will request a URL, input one such as http://www.nhl.com/scores/htmlreports/20152016/PL020790.HTM and it will print the extracted information and generate a properly labeled excel workbook with sheets for goals, shots, penalties, and faceoffs.

Installation

First insure git and python 2 are installed on your machine

git clone https://github.com/ChaosSmith/nhl_scrape.git
cd nhl_scrape
pip install -r requirments.txt
python main.py
profit$$$