官术网_书友最值得收藏!

Data scraping

Now, we will extract the customer names from the displayed customer details using the Data Scraping feature in UiPath. Follow these steps:

  1. Click on Data Scraping in the top ribbon:

  1. In the Extract Wizard that pops up, click on Next. Choose the first customer on the list (for example, Amazon). The wizard will prompt you with an option to extract the whole table. We'll choose No as we only need the customer names for this project.
  2. Click Next and select another element for the Data Scraping wizard to be able to identify the table. Point to the last customer on the list (for example, Salesforce). Click Next.
  3. On the next screen, provide a column name for the data we are extracting. Let's call it Name since the data is customer names. Click Next:

  1. Now, you'll be shown a preview of the data that you extracted. Check the data and click on Finish, as shown in the following screenshot:

  1. Choose No in the dialog that asks whether the data is spanning multiple pages. You will find the Extract structured Data activity within the Data Scraping Sequence that was created and appended at the bottom of the workflow.
  2. Go ahead and copy this activity before pasting it within the Try block under Anchor Find. In the properties for the Extract activity, remove the ExtractDataTable variable. We will add a new variable in its place in the next step:

  1. Create a new DataTable variable called dtCompanyList to store the customer list that contains the names of companies that will be passed as input to Crunchbase.com. We'll add this as the output for the Extract Structured Data activity. In the Variable pane, set its scope to Main Sequence
  2. Once we have copied what is needed, make sure to delete the Data Scraping Sequence that was created automatically.

That's all for the Try block. Next, we'll handle the exceptions in the Catch block.

主站蜘蛛池模板: 闵行区| 镇沅| 象州县| 吴忠市| 云安县| 南雄市| 凌海市| 嘉荫县| 沁源县| 甘孜县| 安泽县| 黑水县| 晋州市| 新龙县| 丹东市| 永泰县| 林周县| 芒康县| 陇西县| 如皋市| 平乐县| 合水县| 民勤县| 突泉县| 焦作市| 剑河县| 噶尔县| 定襄县| 五峰| 昭觉县| 成安县| 佛教| 滨州市| 成武县| 彰武县| 内丘县| 瑞丽市| 双牌县| 象州县| 敦化市| 庆安县|