Skip to main content
[Command] Get metadata from URL
Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

The Get metadata from URL command is used to instruct the workflow to obtain the title, URL, source code, and text content from a specific webpage.


Parameters Values

Set parameters

Parameter

Definition

Web page

Select a target web page. There are 2 commands that can be used to generate a web page variable:

  • Go to web page

  • Find web page

Attribute

Select an attribute from the web page

  • URL

  • Title

  • Source code

  • Text content

Set attribute as

Name the variable generated by the parameters above

Error handling

Parameter

Definition

When error occurs

Select the action to be performed when an error occurs:

  • Terminate the project

  • Ignore the error and execute the next command

  • Retry action


Example

The workflow below will go to rpa.octoparse.com on the built-in browser, save the webpage as a variable named RPA_homepage, get the title from the webpage, save the variable, name it as "RPA_title", and print it to log.

Did this answer your question?