Modify CSV file format

scrapefun

A-Parser Enterprise License
A-Parser Enterprise
How would I modify the delimiter to use double commas ,, and the text qualifier to brackets [ ] instead of quotes?

Here is the current csv format being used:

tools.CSVline(
query,
mail,
creation_date,
title,
subsCount,
views.remove('[views,]').collapse,
country,
email_desc.unique.join(', '),
description.collapse,
tools.js.eval('unescape("' _ links_primary.join(', ').collapse.remove('(,)$') _ '")')
 
Separators cannot be changed in tools.CSVline(). Instead, use the output with the template engine in the form you need, such as this:
Code:
[% '[' _ query _ '],,[' _ mail _ '],,[' _ creation_date _ ']' _ "\n" %]
 
Back
Top