# Select HTML Links

Using web page code parsing to obtain a list of all links from the page.

<table data-header-hidden><thead><tr><th width="201.41668701171875" valign="top"></th><th width="283.99981689453125" valign="top"></th></tr></thead><tbody><tr><td valign="top">Page Code</td><td valign="top">[Text] The web page code from which the required nodes need to be selected.</td></tr><tr><td valign="top">Page Link</td><td valign="top">[Text] The link to the page from which the code was obtained. This property is used for the correct handling of relative links.</td></tr><tr><td valign="top">XPath</td><td valign="top"><p>[Text] The query formulated in XPath language.</p><p>If the property is not specified, the value used will be:</p><p><code>".//a[@href]"</code>.</p></td></tr><tr><td valign="top">Result</td><td valign="top"><p>[Dictionary] A dictionary with values. The keys of the dictionary are the links themselves, and the values are their text. For example,</p><p><code>"https://google.ru" - "Google Search"</code>.</p></td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - by default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during operation. Possible values:</p><ul><li>"Default" - by default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>
