Boris-code / feapder

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

python3.11环境下无法使用 #188

Closed Foreverpy closed 1 year ago

Foreverpy commented 1 year ago

电脑安装的python版本为3.11,使用feapder创建任务出现错误

image 在3.11的更新文档中,发现已将getargspec()函数移除,希望可以更新适配3.11的版本 image

Foreverpy commented 1 year ago

3.11版本对re模块有修改,(?!)语法不能正常使用 image

我做了一些调整,供参考 image

RuixiangS commented 1 year ago

可以提个pull request

Boris-code commented 1 year ago

可以提个pull request + 1

suyin-long commented 1 year ago

我用的也是Python3.11.0,使用feapder创建任务没有报错,但是运行feapder爬虫脚本时报错:

error          global flags not at the start of the expression at position 2

这是怎么回事?

Boris-code commented 1 year ago

升级到1.8.6b6

suyin-long commented 1 year ago

升级到1.8.6b6

这个是稳定版吗?默认装的是feapder 1.8.5,然后我用Python 3.10.10试了下可以正常使用。待会用Python 3.11试试你说的这个feapder版本。