Boris-code / feapder

🚀🚀🚀feapder is an easy to use, powerful crawler framework | feapder是一款上手简单,功能强大的Python爬虫框架。内置AirSpider、Spider、TaskSpider、BatchSpider四种爬虫解决不同场景的需求。且支持断点续爬、监控报警、浏览器渲染、海量数据去重等功能。更有功能强大的爬虫管理系统feaplat为其提供方便的部署及调度
http://feapder.com
Other
2.88k stars 476 forks source link

mysql 查询 有bug #239

Closed heqiang closed 11 months ago

heqiang commented 11 months ago

问题 当我查询数据的时候, to_json=True,limit=1 时,如果查询结果为[] 就会报错 截图 1695716425606

代码 没有判断result 为空的情况 if limit == 1: if conver_col: result = [convert(col) for col in result] result = dict(zip(columns, result))

Boris-code commented 11 months ago

好的,已修复,下个版本发布

Boris-code commented 11 months ago

feapder==1.9.0b1

已发布