How to get leads from LinkedIn profiles?

Hi, fellas. I'm working for a company and have a corporate account with a decent number of connections - around 5K. I'm building an email scraper now, so I need to get emails from LinkedIn profiles. I'm new to this network, do you have any ideas how to carry it out? I'm sure there are some browser extensions or special software, can you give me a hint?