Tinkering with baseball scripts…

April 2, 2008 | Baseball | By: Mark VandeWettering

Today, I realized that I had written some scripts to dig out information on the web and present it to me in a nice, concise format a couple of years ago, but that they had not been updated. I tinkered them back into fighting form, and then worked on a new one: one that would scrape all the standings information for the major leagues.

And… here’s what the results look like. Not bad.

------------------------------------------------------------------------
                    MAJOR LEAGUE BASEBALL STANDINGS
------------------------------------------------------------------------

                            AMERICAN LEAGUE
          WEST                  CENTRAL                   EAST
    TEX   1-1    -          KC    2-0    -          BOS   3-1    -
    SEA   1-1    -          CLE   1-0   0.5         TB    1-0   0.5
    ANA   1-1    -          MIN   1-1   1.0         NYY   1-0   0.5
    OAK   1-3   1.0         CWS   0-1   1.5         TOR   0-1   1.5
                            DET   0-2   2.0         BAL   0-1   1.5

                            NATIONAL LEAGUE
          WEST                  CENTRAL                   EAST
    SD    2-0    -          MIL   2-0    -          WAS   2-0    -
    LA    2-0    -          PIT   1-0   0.5         NYM   1-1   1.0
    COL   1-0   0.5         STL   0-1   1.5         FLA   1-1   1.0
    ARI   1-0   0.5         CIN   0-1   1.5         PHI   0-1   1.5
    SF    0-2   2.0         HOU   0-2   2.0         ATL   0-2   2.0
                            CHC   0-2   2.0

------------------------------------------------------------------------

Comments

Comment from Jared
Time 11/30/2010 at 2:05 pm

We are trying to do a project but we ca’t because we need some old time baseball scripts can you find some for us ITS IMPORTANT!!!!