This is Ruby code that uses the Mechanize gem to scrape NBA/NCAA shot data (including the x and y values of every shot on the court) from the web.