xianhu / PSpider

简单易用的Python爬虫框架,QQ交流群:597510560
https://github.com/xianhu/PSpider
BSD 2-Clause "Simplified" License
1.83k stars 504 forks source link

AttributeError: module 'spider' has no attribute 'YunDaMa #16

Closed Z-Tracy closed 7 years ago

Z-Tracy commented 7 years ago

不太明白weibo_user.py 中的 WeiBoLogin self.cookie_jar, self.opener = None, None self.yundama = spider.YunDaMa("", "") 这段,调用的时候也出错说‘AttributeError: module 'spider' has no attribute 'YunDaMa'’ 去spider里找了下也并没有找到有YunDaMa相关,不知道这里是什么用法还是缺失是一个bug了。

xianhu commented 7 years ago

这里把YunDaMa这个模块从spider中移除了。你可以自己封装一个类似的接口,或者直接进行人工打吗。 项目中的demos*不保证一定能运行,因为spider模块一直在更新,我这边精力有限,没办法实时更新demos*项目。

Z-Tracy commented 7 years ago

好的明白了