Skip to content

Commit

Permalink
Update itemcsvexporter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
acredjb authored Aug 23, 2018
1 parent b9a3da3 commit f8f075c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itemcsvexporter.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from scrapy.conf import settings
from scrapy.contrib.exporter import CsvItemExporter
from scrapy.exporters import CsvItemExporter
#指定输出到csv文件中字段的顺序,结合setting.py

class itemcsvexporter(CsvItemExporter):

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit f8f075c

Please sign in to comment.