Convert Wikipedia tables to csv files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sets
README.md
scrape.py

README.md

wikiscrape

Convert Wikipedia tables to csv files.

Here is a Wikipedia article with tables: List of Major League Baseball Stadiums

To collect tables, run the scrape.py script with a wikiSuffix

For the link above, the wikiSuffix is "List_of_Major_League_Baseball_stadiums"

python scrape.py wikiSuffix

This project uses Beautiful Soup.