自己实现了一个过滤器方法 custom_filter , settings 中设置
DUPEFILTER_CLASS = 'crawls.spiders.custom_filter'
运行项目时提示'module' object has no attribute 'from_settings'
请问各位有遇到过嘛,或者知道问题大概出在哪里的
DUPEFILTER_CLASS = 'crawls.spiders.custom_filter'
运行项目时提示'module' object has no attribute 'from_settings'
请问各位有遇到过嘛,或者知道问题大概出在哪里的