OK, I don't pretend to understand it, but this is what cured the problem:
Changing this:
copyProd = new Item()
copyProd = response.meta['product']
to this:
copyProd = new Item()
for elem in response.meta['product']:
copyProd[elem] = response.meta['product'][elem]
--
You received this message because you are subscribed to the Google Groups
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.