beautiful soup find function code example Example: beautifulsoup find htmlTag = soup.find(id="id") text = soup.find(id="id").get_text()