How to get nested Info on a website?

Hi there,

I have a small project that should do

  1. Open a browser

  2. Open Linkedin - and login to it.

  3. From the home page, go to my “Connections”

  4. After that, need to see “All connections”

  5. And then, get the data of my connections that can be seen on that page.

  6. When I click on a person, there is a page come up to show his/her page, so here on that page,
    there is “See contact info” link, which pops up a small info page to show website link, email, connected info of the person and so on.

yeni4

  1. at last, need to write those all info, (Name , Surname, Company Name, Email Address) to the excel

So, I can achieve to step 5, but at step 6 my mind has gone.

Could someone guide to me to solve step 6 please?

Thank you

2 Likes

You can use click activity and set the selector as (specific for chrome. you can change as per your req.)

<html app='chrome.exe' title='*| LinkedIn' />
<webctrl aaname='*See contact info*' tag='SPAN' />

Then once the pop-up comes, you can read further info using get text activity. There are distinct selectors for each

1 Like

use data scrapping and get all names of your contact . and then try to pass a url using their name one by one. then you can use basic activities to click and get their details, get text to extract details,write range to write data into a excel file.

thanks,
vidwa.

2 Likes

Hi, Vidwa,

Thank you for your quick reply.
Can you explain a bit more what you mean buy “pass a url using their name one by one”?

I cannot recognize what and how to do there?

Thank you

Ozlem

1 Like

Hi Farhan,

Thanks for your reply,
Just one thing I dont understand, Okay by doing that I can get one of them’s info,
so should I do this in foreach or something else to have all of connections’ info and write them into excel?

Thanks

Ozlem

1 Like

1
2

consider these two urls both are having “ACME System 1 - Log In” part in common only the number is changed.look whether there’s a unique id or the name in the url of each and every friend in your list. use a navigate activity you can pass a variable with the url like this

ACME System 1 - Log In”+yourStringVariable

1 Like

yes you’ll have to use a for each. Loop each connection one by one and extract their details

1 Like

@ozisak
222
but in linkdin url is bit different so you can use the same method. try to scrap names with their url.
Capture
1111

you can get the the values in column 2(in my case). and combine it with the url common part and pass it to navigate activity.

like this

https://www.linkedin.com”+Column2value

you can get one by one item and by using click and get text activities you can get their details

thanks,
vidwa

1 Like

I appreciate a lot Vidwa, that helps me quite a lot!

Im gonna try asap, and will turn you back whether have a problem or not :slight_smile:

Cheers

1 Like

Thank you so much Farhan,

Im going to try your solution as well, they are both great ideas :blush:

Cheers

Ozlem

1 Like

great :blush: good luck. and if it works don’t forget to mark it as solution

cheers :clinking_glasses:

1 Like

Sure Dear :hugs:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.