Skip to content

Instantly share code, notes, and snippets.

@pranjalAI
Created November 28, 2020 18:01
Show Gist options
  • Save pranjalAI/b129214a4f049a66cfeb8ec1360b1fe3 to your computer and use it in GitHub Desktop.
Save pranjalAI/b129214a4f049a66cfeb8ec1360b1fe3 to your computer and use it in GitHub Desktop.
response = requests.get(data_link)
soup = BeautifulSoup(response.text, "lxml" )
para=soup.find_all("p")
head1=soup.find_all("h1")
head2=soup.find_all("h2")
head3=soup.find_all("h3")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment