我也试过使用css选择器(在另一个问题BeautifulSoup: Why .select method returned an empty list?中),但也不起作用。products sales and name from the Recommendation page
from bs4 import BeautifulSoup
我有带有嵌入HTML表格的电子邮件,还有使用BeautifulSoup提取表和表中数据的代码,我的问题是有时只有当有更多的表时,它才能成功捕获一个表。
table = bs4.BeautifulSoup() for cell in row.find_all("td")] for row in table.find_all(&q