Example
Last updated
Last updated
This example Data Stream demonstrates how to use this Context Provider to retrieve specific data from the .
Drag the Web Scraper Context Provider onto the canvas, link the output endpoint to the printer, rename it, and save the Data Stream.
Select the Agent and click Configure.
In this case, keep the default Collection and polling interval.
Select the Url and License Keys.
Enter the Container Selector and Item Selector.
In this case, set the Container Selector to '#row-1234365377' and Item Selector to '#col-2010014477 > div'.
Configure the Elements Grid. Click + to add a row to the grid and add the following rows:
Heading
div > h1
String
Sub Heading
div > h
String
Details
#text-4143654336 > p
String
Apply the changes, save the Data Stream, and publish it.
Let's look at the Live Data View. Observe that the details from the web page are printed every 10 seconds.
Data Stream
C0mp|ex123
See the article for steps to import a Data Stream.