Australian Sports Live Scoreboard
This seemed like an almost impossible task, but thanks to some persuasion from
activate and reading between the lines (in the html code on
www.foxsports.com.au/results) I have figured out how to get the Australians their live sports scores.
Introducing, the Australian Sports Live Scoreboard!
Script can be downloaded from
here
The wiki at my google code page defines how to set this up, here is the
link. I'm including it below for completeness.
Here are the program options:
Code:
Options:
-h, --help show this help message and exit
-g GROUP, --group=GROUP
Groups the scoreboard: sport,league,none
-s SPORT, --sport=SPORT
Specify the sport to display: football,cricket,rugby
-o ORIENTATION, --orientation=ORIENTATION
Orientation of the scoreboard: horizontal/vertical
-d, --debug Enable debugging
Here are some sample setups:
Display Football scores, grouped by league, horizontally
Code:
python /path/to/script/fs_au_grabv2.py -s football -g league -o horizontal
Display Cricket scores, with no grouping, vertically
Code:
python /path/to/script/fs_au_grabv2.py -s cricket -g none -o vertical
Display All sports, grouped by league, horizontally
Code:
python /path/to/script/fs_au_grabv2.py -g league -o horizontal
Notes:
- Use a Monospace font
- Currently tested to display Football and Cricket scores, Rugby is off season I believe
I've included a screenshot of the script in action, displaying football scores, sorted by league, horizontally. It is a crappy screenshot, since I'm short on real estate with my other geeklets. You'll notice that I can't get all of the data to display on my 13" MacBook (max resolution is 1280x800). I'm sure it'll work just fine for you all that have bigger monitors with higher resolutions.
If you run into issues with the script not displaying scores:
Do the following for me in Terminal.app. Make sure the command options you specify in the geeklet match up with the options you set in the terminal window (replace [your options here] with the options you set in Geektools.) This will create a debug log that you can then send to me.
Code:
python /path/to/script/fs_au_grabv2.py [your options here] -d > ~/fs_au_debuglog.txt
For all of us in the USA, I'm trying to figure out a solution for our live scoreboard. The one from Fox Sports is in Flash for us, so I need another avenue of approach to scrape data. If you have any suggestions, please let me know in a PM.