how to parse html data using beautifulsoup

117

how to parse html data using beautifulsoup -

from bs4 import BeautifulSoup

with open("doc.html") as fp:
    soup = BeautifulSoup(fp, "html.parser")

Comments

Submit
0 Comments