Skip to content
FireAwayH edited this page Aug 22, 2018 · 1 revision

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`

Selector like "index", "keyword_4" and "keyword_4_p5" are Branch Selector.

Use cases:

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 new Branch Selector and set it to as the new First Branch Selector.

Before Data Filter and Custom Columns:

After Data Filter and Custom Columns:

For more details please check Data Filter and Custom Columns

Clone this wiki locally