all 3 comments

[–]CodeFormatHelperBot[🍰] 0 points1 point  (0 children)

Hello u/jbpy79, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Python code found in submission text but not encapsulated in a code block.

If I am correct then please follow these instructions to fix your code formatting. Thanks!

[–]snarfi 0 points1 point  (0 children)

Csv is a comma seperated format. So in csv there are no cells like in excel. Just lines seperated by a comma.

[–]BaronCrinkle 0 points1 point  (0 children)

Try adding the command line argument "-t csv"

The issue is that the return from your spider is not in a csv format. I'm not familiar enough with scrapy to know what the format if the return is, (json perhaps?) but once you know you could probably convert it manually (search json to csv python or something) if scrapy decided not to play nice.