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