我正在用beautifulsoup做研究。我正在寻找身体内部的弯曲和牵拉的tr影响。但是我在这些en标签中只有1个字。如何检查tr标签中是否包含该单词?找不到带有底行代码的单词
html = browser.page_source
source = BeautifulSoup(html,"lxml")
tbody = source.body.tbody.find_all("tr")
# thats code block not worked. But yesil in uses in tbody[0]
word = ("yesil")
if word in tbody[0] :
print("word found in data")
else:
print("word not found")