Guest User

Untitled

a guest
Sep 26th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from bs4 import BeautifulSoup
  2. content = "<a><b>scgvggvd</b></a>"
  3. soup = BeautifulSoup(content, 'html.parser')
  4. matched_list = soup.find('a')
  5. print(matched_list)
  6.  
  7. <a><b>scgvggvd</b></a>
  8.  
  9. <b>scgvggvd</b>
Add Comment
Please, Sign In to add comment