You are awesome Lhassan. Excellent.. On Tuesday, June 24, 2014 3:02:02 PM UTC-7, Lhassan Baazzi wrote: > > Hi, > > See this blog post: > http://blog.jbinfo.io/post/89242990659/how-to-create-a-scrapy-csv-exporter-with-a-custom > > > Regards. > > Merci. > --------- > Lhassan Baazzi | Web Developer PHP - Symfony - JS - Scrapy > Email/Gtalk: [email protected] <javascript:> - Skype: baazzilhassan - > Twitter: @baazzilhassan <http://twitter.com/baazzilhassan> > Blog: http://blog.jbinfo.io/ > [image: Donate - PayPal -] > <https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BR744DG33RAGN>Donate > > - PayPal - > <https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BR744DG33RAGN> > > > 2014-06-24 22:53 GMT+01:00 Chetan Motamarri <[email protected] <javascript:> > >: > >> I have around 20 items in my items.py file when I execute my spider and >> save output in csv then the order of output items is not proper. It seems >> to be like jumbled i.e. 1st item is in 8th column of csv and 2nd item is in >> 5th column of csv like that. >> >> I just want to make sure that output csv has some fixed order like >> specified in items.py >> >> I have tried this " >> http://stackoverflow.com/questions/20753358/how-can-i-use-the-fields-to-export-attribute-in-baseitemexporter-to-order-my-scr" >> >> but of no use.I ended up with errors like this >> >> raise ImportError("Error loading object '%s': %s" % (path, e)) >> importError: Error loading object 'myproject.pipelines.CSVPipeline': No >> module named myproject.pipelines >> >> Can anyone help me in solving this issue 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/scrapy-users. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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.
