时间: 2020-11-26|31次围观|0 条评论

安装完爬虫框架pyspider之后,使用pyspider all 命令,可能会出现以下错误:

- Deprecated option 'domaincontroller': use 'http_authenticator.domain_controller' instead.

 

pyspider常见错误插图

 

解决方法如下:

在安装包中找到pyspider的资源包,然后找到webui文件里面的webdav.py文件打开,修改第209行即可。

'domaincontroller': NeedAuthController(app),
修改为:'http_authenticator.domain_controller': NeedAuthController(app),

pyspider常见错误插图1

 

然后再执行pyspider all就能够通过http://localhost:5000打开页面了。

如下图所示:

pyspider常见错误插图2

 

注意这边使用的是Python35

转载于:https://www.cnblogs.com/LXL616/p/10760204.html

原文链接:https://blog.csdn.net/weixin_30342827/article/details/96664614

本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。

本博客所有文章如无特别注明均为原创。
复制或转载请以超链接形式注明转自起风了,原文地址《pyspider常见错误
   

还没有人抢沙发呢~