Start a new topic

Zyte Scrapy Cloud + Python dataclasses doesn't works

Hi everybody.

I developed my spider and I use Python dataclasses (as documentation says: In my local PC it works fine, but when I deployed to Cloud it fails and raises me this message:

"[sh_scrapy.extension] Wrong item type: [DATACLASS NAME] ...."

I use latest stack of Scrapy and I don't what I'm doing wrong. My scrapinghub.yml file :

project: XXXXXX
stack: scrapy:2.4-latest
file: requirements.txt
Login to post a comment