summary_node = soup.find('div', class_="lemma_summary") 这段是不是有问题?
summary_node = soup.find('div', class_="lemma_summary")
rs_data['summary'] = summary_node.get_text()
运行显示summary_node是“NoneType”,返回错误:
AttributeError: 'NoneType' object has no attribute 'get_text'
该怎么解决