Skip to content

Files

Latest commit

bc79a68 · Dec 25, 2019

History

History
This branch is 33 commits behind x4nth055/pythoncode-tutorials:master.

html-table-extractor

To run this:

  • pip3 install -r requirements.txt
  • To extract all tables from this wikipedia page:
    python html_table_extractor.py https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population
    
    This will download all HTML tables and save them as CSV files in your current directory.