I am trying to scrape a simple table using Beautiful Soup. Here is my code:
import requests from bs4 import BeautifulSoup url = \'https://gist.githubusercon
The table variable contains an array. You would need to call find_all on its members (even though you know it's an array with only one member), not on the entire thing.
table
find_all
>>> type(table) >>> type(table[0]) >>> len(table[0].find_all('tr')) 6 >>>