List of functions

List of available functions for manual parsing

HTML

element_text

NameArgumentsDescription
element_text-Extract text from HTML & remove whitespaces

xpath

NameArgumentsDescription
xpathxpath_expressions
Type: string
Required: true
Applies an XPath expression to the provided input value. If the execution does not yield a result, the subsequent expression in the array is utilized. Expressions can incorporate XSLT functions and are compatible with XPath version 1.0 and XSLT version 1.0.

xpath_one

NameArgumentsDescription
xpathxpath_expressions
Type: string
Required: true
Identical to xpath but used for extracting a singular value even if more are present.

css

NameArgumentsDescription
csscss_expressions
Type: string
Required: true
Applies a CSS expression to the provided input value. If the execution doesn't yield a result, the subsequent expression in the array is utilized. It's important to mention that the css function always outputs a JSON array containing HTML elements, complete with opening and closing tags. If you want to extract the content of the element, you can use the element_text function afterward.

css_one

NameArgumentsDescription
css_onecss_expressions
Type: string
Required: true
Identical to css but used for extracting a singular value even if more are present.

Data Manipulation

amount_from_string

NameArgumentsDescription
amount_from_string-Locate the initial instance of a numerical value within a string and transform it into a floating-point number.

amount_range_from_string

NameArgumentsDescription
amount_range_from_string-Identifies every numeric value in a string and changes them into floating-point numbers.

join

NameArgumentsDescription
joinseparator
Type: string
Required: false
Default: ""
Joins a list of strings into a unified string. The individual values are divided by the specified separator.

regex_find_all

NameArgumentsDescription
regex_find_allseparator
Type: string
Required: false
Default: ""
Identifies all strings that conform to a specified regular expression pattern.

regex_search

NameArgumentsDescription
regex_searchregex_pattern
Type: string
Required: true
group_to_return
Type: integer
Required: false
Default: 0
Locates a string that satisfies the provided regular expression. It then returns the specified matching group, which defaults to 0.

regex_substring

NameArgumentsDescription
regex_searchregex_pattern
Type: string
Required: true
group_to_return
Type: integer
Required: false
Default: 0
Identifies a string that satisfies the provided regular expression and retrieves the specified matching group (defaulting to 0).

length

NameArgumentsDescription
length-Obtains the length of the array. When a multi-dimensional array is given as input, the function operates on the innermost array.

select_nth

NameArgumentsDescription
select_nthindex
Type: integer
Required: true
Provides the nth element from the array, utilizing zero-based indexing. Negative indexes can be used to select items from the end of the array, such as the last (-1) or second last (-2) elements.

convert_to_float

NameArgumentsDescription
convert_to_float-Converts a string or an integer to a floating point number.

convert_to_int

NameArgumentsDescription
convert_to_int-Converts a string or a floating point number to an integer.

convert_to_str

NameArgumentsDescription
convert_to_str-Converts an integer or a floating point number to a string.

average

NameArgumentsDescription
averageround_precision
Type: integer
Required: false
Calculates the average of values in an array.

max

NameArgumentsDescription
max-Finds the biggest value in an array.

min

NameArgumentsDescription
min-Finds the smallest value in an array.

product

NameArgumentsDescription
product-Returns the result of multiplying all the values in the array together.