Skip to content

Instantly share code, notes, and snippets.

@invegat
Created December 2, 2018 02:19
Show Gist options
  • Save invegat/093098ebc3824de1843c4d217505731f to your computer and use it in GitHub Desktop.
Save invegat/093098ebc3824de1843c4d217505731f to your computer and use it in GitHub Desktop.
Use Beautiful Soap to scrape websites
## used wikipedia to:
1. ### find list of current mlb teams and the names of their stadiums
2. ### use names of stadiums to navigate to wiki page and extract cooridnates
3. ### use wiki world series site to get all world series teams
#### (used 1958 and after, before 1958 no West Coast teams - so no maximum distance, many teams had different names/cities or don't currently exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment