Updated scrapy code