I am building a LinkedIn **scraper** to be used for the scraping of companies basic information from LinkedIn.

I have a text file which contains the companies list and I am reading it and then making a google search to extract the first link (search linkedin.com + company name).

I stored all the links in a list. Now the problem is some of the companies are in different languages and I am getting linkedin urls of profiles as well as some non linkedin links.

my list looks like as

```
['https://www.linkedin.com/company/transatl-ntica-viajes-y-turismo',
 'https://co.linkedin.com/in/jose-anibal-lerma-moreno-2b389aa3',
 'https://in.linkedin.com/company/indocol---industrial-de-dotaciones-colombianas',
 'https://www.linkedin.com/in/javier-torres-camargo-b983443a',
 'https://in.linkedin.com/company/sas',
 'https://in.linkedin.com/company/ti-tecnologia-informatica-s-a-s',
 'https://www.linkedin.com/company/henkel_2',
 'https://in.linkedin.com/company/sas',
 'https://www.linkedin.com/company/quimica-vulcano-s-a',
 'https://in.linkedin.com/company/sas',
 'https://www.linkedin.com/company/ismocol-de-colombia-s-a-',
 'https://in.linkedin.com/company/sas',
 'https://www.facebook.com/IMCTCajica/',....

```

Now, if you see this, here I have company links, and all other links, I just want to extract/keep the links which contains -

```
"linkedin.com/company"

```

Any ways to do the same or any better approach to get maximum links containing the same.