Skip to content

Instantly share code, notes, and snippets.

@jiobu1
Last active April 26, 2021 00:31
Show Gist options
  • Save jiobu1/8db59f015074fee1df78f79f096c512d to your computer and use it in GitHub Desktop.
Save jiobu1/8db59f015074fee1df78f79f096c512d to your computer and use it in GitHub Desktop.
first attempt using beautiful soup
import requests
from bs4 import BeautifulSoup
url = "https://www.greatschools.org/new-york/new-york/schools/?tableView=Overview&view=table"
page_response = requests.get(url)
content = BeautifulSoup(page_response.text,"html.parser")
table=content.find_all('table')
table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment