- Robotic Process Automation Projects
- Nandan Mullakara Arun Kumar Asokan
- 334字
- 2021-06-24 16:14:32
Data scraping
Now, we will extract the customer names from the displayed customer details using the Data Scraping feature in UiPath. Follow these steps:
- Click on Data Scraping in the top ribbon:
- 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.
- 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.
- 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:
- 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:
- 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.
- 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:
- 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.
- 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.
推薦閱讀
- Vue.js 3.x從入門到精通(視頻教學版)
- Oracle 12c中文版數據庫管理、應用與開發實踐教程 (清華電腦學堂)
- 神經網絡編程實戰:Java語言實現(原書第2版)
- Learning Informatica PowerCenter 10.x(Second Edition)
- Learning DHTMLX Suite UI
- Visual C++開發入行真功夫
- Cybersecurity Attacks:Red Team Strategies
- Scala編程(第5版)
- Nagios Core Administration Cookbook(Second Edition)
- Zabbix Performance Tuning
- Scala編程實戰
- 絕密原型檔案:看看專業產品經理的原型是什么樣
- TypeScript High Performance
- JavaScript全棧開發
- C++標準庫(第2版)