You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the from_spider ONLY implements in scrapy_redis.dupefilter.RFPDupeFilter, while scrapy.dupefilters.BaseDupeFilter not declares. Which will raise
File "D:\Anaconda\anaconda3\envs\scrapy\Lib\site-packages\scrapy\crawler.py", line 160, in crawl
yield self.engine.open_spider(self.spider, start_requests)
AttributeError: type object 'RFPDupeFilter' has no attribute 'from_spider'
and
File "D:\Anaconda\anaconda3\envs\scrapy\Lib\site-packages\scrapy_redis\scheduler.py", line 149, in flush
self.df.clear()
AttributeError: 'Scheduler' object has no attribute 'df'
scrapy-redis/src/scrapy_redis/scheduler.py
Line 136 in 48a7a89
calls
from_spider
in a dupefilter class.However, the
from_spider
ONLY implements inscrapy_redis.dupefilter.RFPDupeFilter
, whilescrapy.dupefilters.BaseDupeFilter
not declares. Which will raiseand
Another user also met the same question: #242 (comment)
The text was updated successfully, but these errors were encountered: