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/1239ea01a201cdd29057006f90ff7edf to your computer and use it in GitHub Desktop.
Save nveenverma/1239ea01a201cdd29057006f90ff7edf to your computer and use it in GitHub Desktop.
# Parsing html data using BeautifulSoup
soup1 = bs(response1.content, 'html.parser')
# body
body1 = soup1.select_one('body')
# printing the object type of body
type(body1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment