[Python] Modifiying CSV export in scrapy

Discussão em 'Python' iniciado por Stack, Março 17, 2025.

  1. Stack

    Stack Membro Participativo

    I seem to be missing something very simple. All i want to do is use ; as a delimiter in the CSV exporter instead of ,.

    I know the CSV exporter passes kwargs to csv writer, but i cant seem to figure out how to pass this the delimiter.

    I am calling my spider like so:

    scrapy crawl spidername --set FEED_URI=output.csv --set FEED_FORMAT=csv

    Continue reading...

Compartilhe esta Página