dsgkirkby / CanucksArmy

Tools used at CanucksArmy
http://canucksarmy.com
2 stars 0 forks source link

Elite Prospects Depth Charts Scraper #39

Closed VivalaSedinery closed 6 years ago

VivalaSedinery commented 7 years ago

Elite Prospects has released a new feature, NHL team depth charts, showing teams' entire prospect pipelines. We are doing a project on this in the summer/fall and had been looking for this information manually and individually, so this is of enormous help to us.

Here is an example of the Vancouver one (link here) image

There's also a second page, called In The System, contains some standard EP stats for all prospects' non-NHL numbers: image

From what I can tell there's no range to this, it's just the current state, so I kind of think this would work best as a standalone function (like draft.py) rather than being a function within main.py. Say, depthchart.py, or something along those lines.

url's are generated by team numbers, so I guess using NHL standings as a starting point to gather the team numbers? You'd know better than me how to handle that. Just need something that includes Vegas too, ideally. (This page is already showing next season's standings.)

As for the output, I'm looking for something like this: image Green represents info from the In The System page (which I think should be the starting point, because some players have played in multiple leagues, might as well have a row for each, can just ignore the one that says Totals), while Blue represents info from the Depth Chart page.

VivalaSedinery commented 6 years ago

Removing the priority label from this because I figure that, as discussed, I should be able to handle this myself at some point.