Yahoo Football Matchups

By Glenn Carr Last update Sep 24, 2009 — Installed 1,754 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0

Archived Comments (locked)

Subscribe to Archived Comments 9 posts, 7 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
searchforsun... User

thank you for the update :)

 
Glenn Carr Script's Author

Hey fellas, baseball season is finally over, so I've taken some time to modify this to work for 2008. Instead of using 'statnav' I made the script add the legend at the bottom of the first table, that way it works on the game matchup page as well.

Also, since there are just a few games worth of data for 2008, you can add "&year=season_2007" to the end of each URL in the script. For example change:
http://sports.yahoo.com/nfl/stats/byteam?group=Defense&cat=Passing
to
http://sports.yahoo.com/nfl/stats/byteam?group=Defense&cat=Passing&year=season_2007
Of course don't forget to change it back as the season progresses.

 
Wouter van W... Scriptwright

I also noticed that it is now looking for season 2008 stats. As they are not available yet, the script comes up with nothing. I made a version that will allow you to use 2007 stats. If there is enough demand and Glenn does not reply to the requests here, I'll upload my modified version.

 
greenline User

Glenn, is there any chance you can update this? I see Wouter posted the correction for 2008 but I have no idea how to fix the script on my end

 
bsencore User

thanks for the tip wouter

 
Wouter van W... Scriptwright

The script fails for the 2008 league. Yahoo removed the 'yspcontent' ID. If you replace that reference with 'statnav', the script works again.

 
Glenn Carr Script's Author

Go for it, sounds feasible.

 
Mike ONeill User

Glenn,

This is pretty slick. I am going to start playing with this stuff for 2008 season.

Do you think this is feasible:
Sign up 2 Yahoo leagues, have 10-12 teams in each, then create a script to display the standings of both leagues into 1 list. Simulate 2 divisions or conferences. Also do the same with the postings. We run it as a total points league, so the standings overall should be pretty straightforward.

I have programming experience, and expect that this could be a fun little challenge.

-Mike

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel