Fixed deprecation warnings with recent scrapy