-
Notifications
You must be signed in to change notification settings - Fork 18
Branch Selector
The Selectors
of a Sitemap
is a tree-like structure. A Branch Selector
in Tree
is a node which CONTAINS child(s).
An example of Selectors
`
Selector
like "index", "keyword_4" and "keyword_4_p5" are Branch Selector
.
The data returned by a Branch Selector
will be the conjunction of its child selectors(will return a JSON array of JSON objects).
The data format of First Branch Selector
of _root
(in the image above, index
is the first node of _root
) will determine the final structure and format when you preview or scrape the web page.
In this way, by setting a Data Filter on a Branch Selector
you are able to reformat/reconstruct the data and transform it to your desired format.
You can also define the Custom Columns if you have changed the headers(keys) of your data.
If you have more than 1
First Branch Selector
, then you should create a newBranch Selector
and set it to as the newFirst Branch Selector
.
Before Data Filter and Custom Columns:
After Data Filter and Custom Columns:
For more details please check Data Filter and Custom Columns