Parse data

Table of contents


Description

Armed with ZennoPoster, there are many useful tools for analysis and data collection. One of them is "Parse data ", in which, without special knowledge, with a slight movement of your hand, with a minimum number of mouse clicks, in a matter of instant, you can set up the collection of the data you are interested in from the current page.

How to open the Parsing data window?

In the context menu of the browser window " Parse data "

In the context menu of the " Element tree " → item " Parse data "


Detailed parsing of the “Parse data” panel

This window is logically divided into 2 parts:

  1. Quick search

  2. Advanced search (with additional settings)

How many elements to search?

One or many objects.

What to take?

  • Text is the visible representation of the object.

  • Links (from English url) - data in the form of a unified pointer to a resource.

  • Pictures - data in the form of a path to an image (example: https://zennolab.com/wp-content/themes/zenno/img/logo.png ).

  • Other is to select or specify the HTML tag you are interested in.

  • Visible elements only - those objects that are available within the visible area of the current page.

  • Search in all frames (from the English frame) - an independent, embedded HTML document, which may contain the necessary data, or vice versa.

  • Options - [1], [2], [3], etc. automatically suggested option from possibly suitable conditions.

 

+ Additional settings are applied for more flexible search.

  • The data source is a data structure in the form of DOM or HTML (Difference between Source and Dom).

  • Attribute is a property of an HTML tag (element, object).

  • Search string - in which you can specify a path that tells you exactly which element (or elements) of the web page to refer to using the query language: XPath or CSS Selector .

  • Filter results - select what was found by condition, but in the result, place only what: Contains, Does not contain, Regex ( regular expression ).

  • Range is a condition by which you can select data from an array of objects.

Results

A window in which you can clearly see the preliminary data result for the selected condition.


Add to project

After you have selected, all the necessary conditions and are clearly convinced in the preview window, you must click the button: Add to project . After that, in the workspace of the project, the action " Parse data " will appear, in which, you must specify the location to save the received data .


Usage example

Requirement: Collect the addresses of all images of the active page, the current domain (in the example, the official site zennolab.com is used ).

Fast and easy ... We got the desired result!