Web Scrapers

Home for all your discussion of basketball statistical analysis.
Post Reply
nileriver
Posts: 63
Joined: Thu Jul 18, 2013 3:24 pm
Location: Vancouver, WA

Web Scrapers

Post by nileriver »

I am starting a new blog on basketball statistics. I have strong SQL skills and am excited to be able to see what I can do. However, I really need some good, detailed data. What I really need is play-by-play information. I was wondering if anyone knows of some pre-existing web scrapers for espn.com or nba.com. Any other suggestsion of where/how to get data would be much appreciated. I have already gotten data from here http://basketballvalue.com/downloads.php and here http://www.basketballgeek.com/data/.

Thanks in advance, and I look forward to sharing my blog with you all in the upcoming months.
Crow
Posts: 10533
Joined: Thu Apr 14, 2011 11:10 pm

Re: Web Scrapers

Post by Crow »

There are some past threads that deal with this general issue. Search around a bit, if you haven't already.

This guy I think posted some stuff that may be of use.
memberlist.php?mode=viewprofile&u=579

Perhaps you could try emailing him for conversation / assistance.
Apparently now works for an NBA team.
nileriver
Posts: 63
Joined: Thu Jul 18, 2013 3:24 pm
Location: Vancouver, WA

Re: Web Scrapers

Post by nileriver »

Thanks. I will look into those.
Crow
Posts: 10533
Joined: Thu Apr 14, 2011 11:10 pm

Re: Web Scrapers

Post by Crow »

Threads from Chris on this general topic:

viewtopic.php?f=2&t=8099&hilit=web+scraper

His github came down after he was hired.


viewtopic.php?f=2&t=8077
(has other contact info)

viewtopic.php?f=2&t=8106

viewtopic.php?f=2&t=7958

There may be earlier threads by other people findable by other key words.
kpascual
Posts: 50
Joined: Thu Mar 01, 2012 7:02 pm

Re: Web Scrapers

Post by kpascual »

My scraper is open-source: https://github.com/kpascual/nbascrape

I believe I need to update the SQL schema, otherwise an error gets thrown, but once done it should work pretty easily.
dougadamsmith
Posts: 2
Joined: Wed Jan 15, 2014 4:26 pm

Re: Web Scrapers

Post by dougadamsmith »

This is great work by kpascual. Unfortunately, I can't seem to get it to work. It runs error-free, but doesn't actually update data in SQL. Has anyone else encountered this issue (I'm using Windows)? I've spent quite some time trying to troubleshoot, but I'm new to Python...
Post Reply