Skip to content

Instantly share code, notes, and snippets.

@nveenverma
Created June 14, 2019 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nveenverma/a300a379086b9ec369fb5d13d9370986 to your computer and use it in GitHub Desktop.
Save nveenverma/a300a379086b9ec369fb5d13d9370986 to your computer and use it in GitHub Desktop.
# Parsing html data using BeautifulSoup
soup = bs(response.content, 'html.parser')
# body
body = soup.find('body')
# printing the object type of body
type(body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment