List of functions
List of available functions for manual parsing
HTML
element_text
element_text
Name | Arguments | Description |
---|---|---|
element_text | - | Extract text from HTML & remove whitespaces |
xpath
xpath
Name | Arguments | Description |
---|---|---|
xpath | xpath_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
xpath_one
Name | Arguments | Description |
---|---|---|
xpath | xpath_expressions Type: string Required: true | Identical to xpath but used for extracting a singular value even if more are present. |
css
css
Name | Arguments | Description |
---|---|---|
css | css_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
css_one
Name | Arguments | Description |
---|---|---|
css_one | css_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
amount_from_string
Name | Arguments | Description |
---|---|---|
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
amount_range_from_string
Name | Arguments | Description |
---|---|---|
amount_range_from_string | - | Identifies every numeric value in a string and changes them into floating-point numbers. |
join
join
Name | Arguments | Description |
---|---|---|
join | separator 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
regex_find_all
Name | Arguments | Description |
---|---|---|
regex_find_all | separator Type: string Required: false Default: "" | Identifies all strings that conform to a specified regular expression pattern. |
regex_search
regex_search
Name | Arguments | Description |
---|---|---|
regex_search | regex_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
regex_substring
Name | Arguments | Description |
---|---|---|
regex_search | regex_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
length
Name | Arguments | Description |
---|---|---|
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
select_nth
Name | Arguments | Description |
---|---|---|
select_nth | index 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
convert_to_float
Name | Arguments | Description |
---|---|---|
convert_to_float | - | Converts a string or an integer to a floating point number. |
convert_to_int
convert_to_int
Name | Arguments | Description |
---|---|---|
convert_to_int | - | Converts a string or a floating point number to an integer. |
convert_to_str
convert_to_str
Name | Arguments | Description |
---|---|---|
convert_to_str | - | Converts an integer or a floating point number to a string. |
average
average
Name | Arguments | Description |
---|---|---|
average | round_precision Type: integer Required: false | Calculates the average of values in an array. |
max
max
Name | Arguments | Description |
---|---|---|
max | - | Finds the biggest value in an array. |
min
min
Name | Arguments | Description |
---|---|---|
min | - | Finds the smallest value in an array. |
product
product
Name | Arguments | Description |
---|---|---|
product | - | Returns the result of multiplying all the values in the array together. |
Updated 28 days ago