Skip to content

ianjdarrow/football_parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

football_scraper

a library to save scott from having to learn to parse HTML

installation

  • clone this repo
  • pipenv shell and pipenv install
  • if you don't want to use pipenv, the dependencies are just requests and bs4

usage

  • python main.py will pull down NFL stats from the current year and save them to a sqlite database. see db.py for the very simple schema.
  • you can optionally pass --start {year} or --end {year}to pull a range. both default to the current year.
  • by default, the library ensures a minimum of two seconds between API requests. you can change this by passing --rate {seconds}, where seconds is the new minimum delay.

license

apache-2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages