Skip to content

Instantly share code, notes, and snippets.

'''
@author: Michael Bommarito
@contact [email protected]
@date Jul 1, 2009
'''
import urllib2, re, time, pprint, csv
# This regular expression extracts links to team rosters.
reTeamData = re.compile('/players/search\?category=team&filter=([0-9]+)&playerType=current">([^<]+)')