Hi, I'm trying to get CSV tad delimited file after crawl. I have used this snippet found on internet : class CsvOptionRespectingItemExporter(CsvItemExporter): def __init__(self, *args, **kwargs): delimiter = settings.get('CSV_DELIMITER', ',') kwargs['delimiter'] = delimiter super(CsvOptionRespectingItemExporter, self).__init__(*args, **kwargs)
It seem OK. After, I must add this to spider settings : 'FEED_EXPORTERS' : {'csv' : 'spider.portail.CsvOptionRespectingItemExporter'}, But I get this kind of error : ImportError: No module named spider.portail I have tried other kind of path, I have traied to add my script to path but I get an error too. How can I use a custom feed exporter please ? -- 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 scrapy-users+unsubscr...@googlegroups.com. To post to this group, send email to scrapy-users@googlegroups.com. Visit this group at http://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/d/optout.