Start a new topic

From local scrapy to scrapy cloud - Unexpected results

Hi Eveybody,

The scraper I deployed on Scrapy cloud is producing an unexpected result  compared to the local version. 

My local version can easily extract every field of a product item (from an online retailer) but on the scrapy cloud, the field "ingredients" and the field "list of prices" are always displayed as empty. 

You'll see in a picture attached the two elements I'm always having empty as a result whereas it's perfectly working 

I'mu using Python 3 and the stack was configured with  a scrapy:1.3-py3 configuration. 

I thought first it was in a issue with the regex and unicode but seems not.

So i tried everything : ur, ur RE.ENCODE .... and didn't work. 

For the ingredients part, my code is the following : 


        data_box=response.xpath('//*[@id="ingredients"]').css('div.information__tab__content *::text').extract()

        if match1:

        elif match2 : 



 It seems that the matching never occurs on scrapy cloud. 

For prices, my code is the following : 



        for package in list_packaging : 



That's the same story. Still empty. 

I repeat : it's working fine on my local version. 

Those two data are the only one causing issue : i'm extracting a bunch of other data (with Regex too) with scrapy cloud and I'm very satisfied with it ? 

Any ideas guys ? 

1 Comment


The fields ingredient and list_price seems to have been extracted in recent job. It would be great if you can share what changes were done to get the fields as this would help other users in case they face similar issue.

Login to post a comment