View previous topic :: View next topic |
Author |
Message |
cherokee_ACB
Joined: 22 Mar 2006 Posts: 157
|
Posted: Mon Nov 02, 2009 7:34 am Post subject: |
|
|
gabefarkas wrote: |
Just out of curiosity, are the changes to your ESPN script the same as what's described above, or did you do something different? |
Same as above. I wanted to include your "winning-team-in-bold" improvement, but didn't have time. |
|
Back to top |
|
|
bastillon
Joined: 04 Nov 2008 Posts: 55
|
Posted: Tue Nov 03, 2009 7:07 am Post subject: |
|
|
big thanks cheerokee |
|
Back to top |
|
|
zHoops
Joined: 15 Nov 2009 Posts: 1
|
Posted: Sun Nov 29, 2009 4:01 pm Post subject: Re: 4 factors in boxscores |
|
|
Very impressive cherokee, thanks for the good work! _________________ www.binahoop.com - Reinventing the Box Score |
|
Back to top |
|
|
Carlos
Joined: 21 Jan 2005 Posts: 64 Location: Montevideo, Uruguay
|
Posted: Tue Feb 02, 2010 8:48 pm Post subject: |
|
|
ESPN has changed the format of the boxscores pages again, making the script non functional.
¿Does somebody has any idea of how to fix this? |
|
Back to top |
|
|
Joe
Joined: 27 Sep 2009 Posts: 94 Location: Long Island, NY
|
Posted: Tue Feb 02, 2010 9:33 pm Post subject: |
|
|
Just go to hoopdata.com instead. _________________ http://www.hoopdata.com |
|
Back to top |
|
|
jkubatko
Joined: 05 Jan 2005 Posts: 702 Location: Columbus, OH
|
Posted: Wed Feb 03, 2010 9:23 am Post subject: |
|
|
Carlos wrote: | ESPN has changed the format of the boxscores pages again, making the script non functional.
¿Does somebody has any idea of how to fix this? |
I'm not sure how to fix this, but Basketball-Reference.com's box scores now have a Four Factors summary. I hope that proves to be helpful. _________________ Regards,
Justin Kubatko
Basketball-Reference.com |
|
Back to top |
|
|
cherokee_ACB
Joined: 22 Mar 2006 Posts: 157
|
Posted: Wed Feb 03, 2010 2:07 pm Post subject: |
|
|
Quick fix available, although for some reason the color code is not working (and now this also works). To check, just go to
http://scores.espn.go.com/nba/boxscore?gameId=300202005
(I haven't tested yet with live games, though)
Last edited by cherokee_ACB on Thu Feb 04, 2010 2:48 am; edited 1 time in total |
|
Back to top |
|
|
Carlos
Joined: 21 Jan 2005 Posts: 64 Location: Montevideo, Uruguay
|
Posted: Wed Feb 03, 2010 7:13 pm Post subject: |
|
|
Big thanks to Joe and Justin for the suggestions and to Cherokee_ACB for the great work. |
|
Back to top |
|
|
cherokee_ACB
Joined: 22 Mar 2006 Posts: 157
|
Posted: Sun Feb 07, 2010 1:56 pm Post subject: |
|
|
Just a heads up, I've fixed a problem with pace computation on live games. |
|
Back to top |
|
|
Serhat Ugur (hoopseng)
Joined: 13 Oct 2006 Posts: 209 Location: Basketball Research
|
Posted: Sun Feb 07, 2010 4:58 pm Post subject: |
|
|
cherokee_ACB wrote: | Just a heads up, I've fixed a problem with pace computation on live games. |
You are the man! Thanks for fixing it... _________________ http://www.nbastuffer.com |
|
Back to top |
|
|
Carlos
Joined: 21 Jan 2005 Posts: 64 Location: Montevideo, Uruguay
|
Posted: Mon May 10, 2010 2:52 pm Post subject: |
|
|
If you tried to use this script lately, you probably saw that it wasn't working.
The fix is to locate this line
Quote: | var toHolderA = toCells.snapshotItem(1).textContent.match(toRegEx);
var toHolderH = toCells.snapshotItem(3).textContent.match(toRegEx); |
and to replace it for this one
Quote: | var toHolderA = toCells.snapshotItem(0).textContent.match(toRegEx);
var toHolderH = toCells.snapshotItem(1).textContent.match(toRegEx); |
|
|
Back to top |
|
|
Carlos
Joined: 21 Jan 2005 Posts: 64 Location: Montevideo, Uruguay
|
Posted: Mon May 10, 2010 7:57 pm Post subject: |
|
|
Sorry, but it doesn't seems to work for live games (on ESPN boxscores). |
|
Back to top |
|
|
StatsbyNumbers
Joined: 30 Apr 2010 Posts: 10 Location: Santa Barbara, CA
|
Posted: Fri May 14, 2010 1:11 pm Post subject: Possessions |
|
|
FYI - ESPN changes their boxscore format at the end of the first round (or near it) each year - it will likely revert back to the regular season format next year. I believe they contracted a different firm to work the stylesheets for them as it started changing a couple years back(the format includes more detailed stuff like series stats than they do in the regular season). Another fair warning is that sometimes the play-by-plays that are available on ESPN don't make logical sense (although I'm not sure of the impact in your script) e.g. team rebounds missing, offensive rebounds out of order, plays that are inserted in later periods, missing substitutions at the end of periods.
I don't have the stats available live, but they are usually posted within the hour or two of the game finishing and play-by-plays are much more well ordered if you'd like to run scripts on them. I am still missing my pace stat (pace = 48min*60sec / avg. poss in sec), but I do have non-estimated (actual) possession statistics for the entire post season. http://statsbynumbers.com/game/
Hope you find the data useful. Thanks, |
|
Back to top |
|
|
Mike G
Joined: 14 Jan 2005 Posts: 3618 Location: Hendersonville, NC
|
Posted: Fri May 14, 2010 2:18 pm Post subject: Re: Possessions |
|
|
StatsbyNumbers wrote: | FYI - ESPN changes their boxscore format at the end of the first round (or near it) each year ...
(the format includes more detailed stuff like series stats ... |
Do you have a link to their series stats?
Rummaging around there for 10 or 15 minutes, I don't find anything like that. _________________ `
36% of all statistics are wrong |
|
Back to top |
|
|
StatsbyNumbers
Joined: 30 Apr 2010 Posts: 10 Location: Santa Barbara, CA
|
Posted: Fri May 14, 2010 6:14 pm Post subject: Inconsistencies |
|
|
They unfortunately don't have series stats more than the little box that comes up with the win loss stats (http://scores.espn.go.com/nba/scoreboard?date=20100513) at the bottom of a game summary. I was just trying to point out some of the post season and regular season differences that may be affecting the regular expression searches that are being done. The regular season stuff doesn't have any series stats on it (http://scores.espn.go.com/nba/scoreboard?date=20100414). Some of the major changes are the stylesheet class names. In the regular season, they use the classes "odd" and "even", while in the post season they use "oddrow" and "evenrow". However there are many more inconsistencies (more than I could name here) between the two templates.
Since people have been asking for series stats, I will be adding them to the player and team pages on my site. I'm finishing up my first article, but once that is done I will make the changes. |
|
Back to top |
|
|
|