pushshift / parse_wiki_tables

Simple Example to parse out data from Wikipedia tables using selectolax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse Wikipedia Tables

This is a simple example of parsing data from a Wikipedia table (Top US Cities by Population). The code uses a fantastic library called "Selectolax" which is faster than Beautiful Soup.

This example is very basic but should give some background on how to parse data for other Wikipedia tables.

You may need to install the selectolax Python module. (pip install selectolax / pip3 install selectolax)

About

Simple Example to parse out data from Wikipedia tables using selectolax


Languages

Language:Python 100.0%