Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get scrapy output file in xml file

# Add this line below start_urls
custom_settings = {"FEEDS":{"results.xml":{"format":"xml"}}}
#working on scrapy version 2.4.1
# to export output into csv file format
 
PREVIOUS NEXT
Tagged: #scrapy #output #file #xml #file
ADD COMMENT
Topic
Name
7+6 =