I am currently building a robot around LinkedIn but they changed their userface a little bit the last few days.
My before situation:
I looked a certain person up, cheched if it says: 1 result
If so, I proceeded. If it said 2 results or more, I dropped the row I was working with in an exception box.
Now the situation on LinkedIn looks like this:
So it doesnt give away the amount of search results anymore and I am totally blank on how to solve this problem. I still need to check if there is one result before I proceed the execution.
My idea: Somehow I need to count the amount of results. If it is < 2, I will proceed. Would this be the best way?
But how to count the number of results?