Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Please read the Terms of Use for Materials on ZennoLab |
Table of contents
Expand | ||||
---|---|---|---|---|
| ||||
|
...
Expand | ||
---|---|---|
| ||
Source - the source code of the page received from the server. To simplify things a lot, the browser works like this:
DOM can contain information and elements that will not be in the source code (Source) because it (the DOM) includes content that can be embedded using JavaScript. When working with requests ( GET , POST and other types of requests ), you will always deal with Source. There are two tools for viewing Source and DOM in ProjectMaker:
|
...
If you need to parse the result, you can do this by specifying the desired Regex regular expression, the number and numbers of matches, as well as where to save the result - to a variable or table. You can find the required regular expression using the Regular Expression Tester .
The controls that appear when the Parse data setting is enabled are the same as forText Processing-Regex (there you will find a more detailed description).
...
Tip |
---|
To get data from the page, there is a more convenient tool - Parse data |
...
Usage example
Let's take all the links on the page. We select to take DOM or Source, parse the result and specify the regular expression Regex:
...
As a result, the list will contain all the links on this page.