我正在尝试解析从页面返回的结果,它只会显示大约 15 个结果。我怀疑其他值在其他表/div 上,但它不应该在整个页面中寻找所有 td 吗?
source = driver.page_source
soup = BeautifulSoup(source,'html.parser')
for word in soup.find_all("td", {"idx": "1"}):
find_all_example=word.get_text()
print(find_all_example)