slurp
slurp copied to clipboard
đ Scraping config file discussion đ
For the website profiles we scrape we need to store the profile user names in a config file.
I was previously using CSV on another project.
We could use XML, JSON, YAML, CSV or ?
Json
As a data storage format, CSV has problems, but it is more easily and more widely used than the other formats you mention (XML, JSON, YAML). If the file must be prepared manually, then CSV is a sensible format to use. If the file is to be prepared only using a tool, then the tool can do the work, and a different format may be a better option.