I've been learning how to scrape the greatschools.org website using BeautifulSoup. I've run into a dead end despite looking up different solutions here and in other places. By using the "inspect" feature on chrome I can see that the website has table tags but a find_all('tr') or find_all('table') or find_all('tbody') returns an empty list. What am I missing?
here's the code block that I'm using:
import requests
from bs4 import BeautifulSoup
url = "https://www.greatschools.org/pennsylvania/bethlehem/schools/?
tableView=Overview&view=table"
page_response = requests.get(url)
content = BeautifulSoup(page_response.text,"html.parser")
table=content.find_all('table')
table
The output is: []
Thanks in advance for your help.