Interface HtmlExtractNodeParameters

Source
interface HtmlExtractNodeParameters {
    dataPropertyName?: string;
    extractionValues?: {
        values: {
            attribute?: string;
            cssSelector?: string;
            key?: string;
            returnArray?: boolean;
            returnValue?: "text" | "attribute" | "html" | "value";
        }[];
    };
    options?: { trimValues?: boolean };
    sourceData?: "json" | "binary";
}

Properties§

Source§

readonly dataPropertyName?: string

Default: "data"

Source§

readonly extractionValues?: {
    values: {
        attribute?: string;
        cssSelector?: string;
        key?: string;
        returnArray?: boolean;
        returnValue?: "text" | "attribute" | "html" | "value";
    }[];
}

Default: {} Type options: {"multipleValues":true}

Source§

readonly options?: { trimValues?: boolean }

Default: {}

Source§

readonly sourceData?: "json" | "binary"

If HTML should be read from binary or JSON data Default: "json"