Web Scrapers Generator BrowserExt

Data Types

There are four data types in the ScraperLab Script: number, string, array and dictionary.

Number

Is a float number. The fractional part is separated from the integer part with point. Numbers without fractional parts can be used as an index of the array element. It is mainly used as the array index.

String

Used to represent text values. Set by text symbols between single quotes.

Array

Ordered set of elements. Each element has an index (integer). Array is given by keyword "array" and a list of elements given in parentheses and separated by commas. An array element could be of any type, supported by the script. Count starts from 0.

Dictionary

Set of key-value pairs. Key could be an integer or a string. Dictionary is given by keyword "dict" and a list of key => value pairs separated by commas. Any type supported by script could be of item value.