Mastering Development

Scrapy item pipeline returns TypeError: ‘NoneType’ object is not subscriptable error

I know my selectors are working since I tested them with scrapy shell. However when I use the debugger with a breakpoint at the first line of my pipeline code, the item passed to the process_item function is None although I’m sure the spider gets the right values. I can’t figure out what’s going on, […]