Deprecated import

Posted about 4 years ago by Restegourmet

Post a topic
Un Answered
R
Restegourmet

Hi!

I`m using scrapy 2.3.0 locally. When I import itemloader processors with


from scrapy.loader.processors import MapCompose


I locally get the warning:

ScrapyDeprecationWarning: scrapy.loader.processors.MapCompose is deprecated, instantiate itemloaders.processors.MapCompose instead.


When I use


from itemloaders.processors import MapCompose


it works locally, but I get an "module can`t be imported" error when I try to deploy my spider to the Scrapy Cloud.


Which version of scrapy is used on Scrapy Cloud? Is it updated somewhen?


Thank you!

1 Votes


0 Comments

Login to post a comment