Created
July 25, 2020 21:40
-
-
Save kipronokoech/db38bc9663e5c3691fae72bf2e11be50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On site there are 3 tables with the class "wikitable" | |
# The following line will generate a list of HTML content for each table | |
gdp = soup.find_all("table", attrs={"class": "wikitable"}) | |
print("Number of tables on site: ",len(gdp)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment