我正在从
使用BeautifulSoap
库并使用xlwt-future-0.8.0
将结果保存到Excel中。你知道吗
所有内容都已成功擦除,但当我的代码到达scraping“Premier Full Harbor B&B”酒店描述并写入Excel时,单元格为空。下面是一个片段,描述不完整
if rooms.select("p.deal-description"):
#room description
print("Deal Desc " + rooms.select("p.deal-description")[0].text.strip())
worksheet.write(file_row_number, 4,rooms.select("p.deal-description")[0].text.strip())
将“Premier Full Harbor B&B”之前的所有房间描述刮取并成功输入Excel。你知道吗
有什么问题吗?这个描述中有些难以辨认的字符?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐