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

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.

主站蜘蛛池模板: 长顺县| 登封市| 日喀则市| 方城县| 灵山县| 达州市| 会宁县| 开平市| 金乡县| 阜新市| 高邑县| 新津县| 湘阴县| 崇明县| 穆棱市| 平陆县| 东乌珠穆沁旗| 大冶市| 五寨县| 巫山县| 扎鲁特旗| 喀喇| 濮阳县| 土默特右旗| 安顺市| 朝阳市| 鹤庆县| 河北省| 团风县| 平乡县| 棋牌| 河池市| 赞皇县| 防城港市| 昆山市| 威远县| 凤山市| 历史| 普兰县| 武山县| 苍梧县|