interface HtmlNodeParameters {
dataPropertyName?: string;
extractionValues?: {
values: {
attribute?: string;
cssSelector?: string;
key?: string;
returnArray?: boolean;
returnValue?: "text" | "attribute" | "html" | "value";
skipSelectors?: string;
}[];
};
html?: string;
operation?: | "generateHtmlTemplate"
| "extractHtmlContent"
| "convertToHtmlTable";
options?: | {
cleanUpText?: boolean;
trimValues?: boolean;
}
| {
capitalize?: boolean;
caption?: string;
cellAttributes?: string;
customStyling?: boolean;
headerAttributes?: string;
rowAttributes?: string;
tableAttributes?: string;
};
sourceData?: "json"
| "binary";
}
Properties§
Source§readonly extraction Values?: {
values: {
attribute?: string;
cssSelector?: string;
key?: string;
returnArray?: boolean;
returnValue?: "text" | "attribute" | "html" | "value";
skipSelectors?: string;
}[];
}
readonly extraction Values?: {
values: {
attribute?: string;
cssSelector?: string;
key?: string;
returnArray?: boolean;
returnValue?: "text" | "attribute" | "html" | "value";
skipSelectors?: string;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly html?: string
readonly html?: string
HTML template to render Default: "\n\n\n\n <meta charset="UTF-8" />\n
This is an H1 heading
\nThis is an H2 heading
\nThis is a paragraph
\n \n\n\n\n\n\n" Type options: {"editor":"htmlEditor"}Source§readonly operation?:
| "generateHtmlTemplate"
| "extractHtmlContent"
| "convertToHtmlTable"
readonly operation?:
| "generateHtmlTemplate"
| "extractHtmlContent"
| "convertToHtmlTable"
Default: "generateHtmlTemplate"
Default: "data"