I need assistance with automating data extraction from multiple listings on a webpage, specifically by clicking on "Contact Us" buttons, retrieving information, and iterating through all listings across multiple pages

Hi,

I’m trying to extract data from this link and I’m encountering a challenge. There are about 30-35 listings on each page, and each listing has a “Contact Us” button that contains the information I need. My goal is to automate the following process:

  1. Click on the “Contact Us” button for a listing to extract the required information.
  2. Return to the listing page.
  3. Repeat the process for the next “Contact Us” button.
  4. Continue this for all listings on the current page.
  5. Move to the next page and repeat the process for all pages.

Could you please guide me on how to achieve this efficiently?

Thank you!

Hi @Abe-s

After click on the contact us button what you want to extract data can you specify.

Where you want to store all the extracted data.

@mkankatala
After clicking the “Contact Us” button, another page displays all the information, including the company name, address, contact number [contact number is sometimes in a link (view phone) that can be viewed by clicking on it], contact person, and cell phone.
I want to extract the data into an excel sheet.

Hi @Abe-s ,

  1. Sequence:
  • Open Browser: Open the webpage with listings.
  • Data Scraping: Extract URLs/selectors of “Contact Us” buttons to contactUsLinks.
  • For Each Row (contactUsLinks):
    • Navigate To: Navigate to the “Contact Us” URL.
    • Get Text: Extract company name, address, contact number, contact person, and cell phone.
    • Add Data Row: Add extracted data to contactInfoTable.
    • Go Back: Navigate back to the listings page…
  • Write Range: Write contactInfoTable to Excel.

Regards
Sandy

1 Like

@sandyarpa767 Will this work in UiPath StudioX?